home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / comp / hp-faq < prev    next >
Internet Message Format  |  1994-04-15  |  88KB

  1. Path: bloom-beacon.mit.edu!hookup!swrinde!cs.utexas.edu!uunet!news.mentorg.com!hpcan240.mentorg.com!delta9!gcagle
  2. From: gcagle@delta9.mentorg.com (Greg Cagle)
  3. Newsgroups: comp.sys.hp.hpux,news.answers,comp.answers
  4. Subject: comp.sys.hp.hpux FAQ
  5. Followup-To: comp.sys.hp.hpux
  6. Date: 15 Apr 1994 15:47:38 GMT
  7. Organization: Mentor Graphics
  8. Lines: 2329
  9. Approved: news-answers-request@MIT.Edu
  10. Distribution: world
  11. Message-ID: <2omcuq$g5c@hpcan240.mentorg.com>
  12. Reply-To: greg_cagle@mentorg.com
  13. NNTP-Posting-Host: delta9.mentorg.com
  14. Keywords: FAQ
  15. Xref: bloom-beacon.mit.edu comp.sys.hp.hpux:6538 news.answers:18083 comp.answers:4920
  16.  
  17. Archive-name: hp-faq
  18. Last-modified: 1994/4/15
  19. Version: 2.13
  20.  
  21. comp.sys.hp.hpux FAQ (Frequently Asked Questions)
  22.  
  23. Subject: 1. INTRODUCTION
  24.  
  25. This article contains the answers to Frequently Asked Questions (FAQ)
  26. seen in the Internet newsgroup comp.sys.hp.hpux. Discussion in this document
  27. centers around Hewlett-Packard computer systems running  the HP-UX operating
  28. system; the focus tends to be on the series 700  workstations, although topics
  29. are also applicable to series 800 machines, and to a lesser degree, series 300
  30. and 400 machines. It is posted ~biweekly, on the 15th and the last day of the
  31. month. 
  32.  
  33. This article is Copyright 1994 by Greg Cagle.  It may be freely redistributed 
  34. in its entirety provided that this copyright notice is not removed.  It may 
  35. not be sold for profit or incorporated in commercial documents without the 
  36. written permission of the copyright holder.  Permission is expressly granted 
  37. for this document to be made available for file transfer from installations 
  38. offering unrestricted anonymous file transfer on the Internet. This article is 
  39. provided as is without any express or implied warranty. The content of this 
  40. article is the sole responsibility of the author and contributors, and does 
  41. not necessarily represent their employers, Mentor Graphics, or Hewlett-Packard.
  42.  
  43. Refer to question 3.l for details on where to get this FAQ.
  44.  
  45. This FAQ is written in "minimal digest format". You can skip from one 
  46. section to the next by pressing ^G in many newsreaders, such as rn, trn 
  47. and strn.
  48.  
  49. Questions marked with a "+" are new to this issue, and questions with changes
  50. since the last issue are marked by a "!".
  51.  
  52. Submissions, corrections, comments, input, complaints, attaboys, large amounts 
  53. of money, etc., should be directed to Greg Cagle <greg_cagle@mentorg.com>.
  54.  
  55. ------------------------------
  56.  
  57. Subject: 2. TABLE OF CONTENTS
  58.  
  59. 1. INTRODUCTION
  60. 2. TABLE OF CONTENTS
  61. 3. FINDING INFORMATION
  62. 3.1! Where can I get a copy of this FAQ file?
  63. 3.2  Courses on HP-UX
  64. 3.3  Interex, The International Association of HP Computer Users
  65. 3.4  InterWorks, The International HP Workstation Users Group
  66. 3.5  Interex HP Users Conferences 1994
  67. 3.6  InterWorks Conference 1994
  68. 3.7  HP/Works
  69. 3.8  HP/Works Conferences
  70. 3.9  HP-UX publicly available software from InterWorks.
  71. 3.10  Anonymous FTP Sites for HP-UX, and UNIX related software.
  72. 3.11  Where can I get a demo CD with software for HP-UX?
  73. 3.12! HP-UX patch information and mailing list.
  74. 3.13  How can I send mail to an "hpdesk" address?
  75. 3.14  What are the known issues with porting BSD-based programs to HP-UX?
  76. 3.15  What periodicals are available that focus on HP-UX?
  77. 3.16  Books on HP-UX
  78. 4. THIRD PARTY VENDORS
  79. 4.1  Third party vendors for RAM.
  80. 4.2  Third party vendors for peripherals
  81. 5. UTILITIES
  82. 5.1  ASCII to Postscript converter.
  83. 5.2  How do I make perl on HP-UX?
  84. 5.3  What is the status of the various gnu items on HP-UX?
  85. 6. X WINDOW SYSTEM, MOTIF, AND HP-VUE
  86. 6.1  X11 libraries (Athena, etc.) and utilities (imake, etc.).
  87. 6.2  How can I display an image on the root window with HP-VUE?
  88. 6.3  How do I get a scroll bar on hpterms?
  89. 6.4  How can I put a title in my hpterm titlebar?
  90. 6.5  How come my hpterms keep going away by themselves?
  91. 6.6  How come my HP X/Motif clients take a LONG time to display on a Sun?
  92. 6.7  How can I get my login stuff to work under HP-VUE?
  93. 6.8  How can I get console messages to go to an hpterm?
  94. 6.9  What happened to the vuewm key accelerators at VUE 3.0?
  95. 6.10  How come I can no longer disable the caps lock key with xmodmap?
  96. 6.11  How come vi behaves strangely in xterms at 9.01?
  97. 6.12  How do I disable HP-VUE?
  98. 6.13  What's a good termcap entry for hpterm?
  99. 6.14  My screen is wedged. What should I do?
  100. 6.15  How can I get an X client to come up in an alternate workspace?
  101. 6.16  Where did xline go at 9.x?
  102. 6.17  How can I get HP-VUE to not override colors?
  103. 6.18  How can I override the system default printer in vuepad?
  104. 6.19  How can I get the VUE 2.01 man page help index back?
  105. 7. OPERATING SYSTEM
  106. 7.1  Can I have filenames longer than 14 chars?
  107. 7.2  How can I tell what filesets have been loaded on my system?
  108. 7.3  How do I safely remove software from my system?
  109. 7.4  What's the scoop on HP-UX 9.03/9.04?
  110. 7.5  How come HP-UX doesn't support NFS root access?
  111. 7.6! How can I change the order of hostname resolution?
  112. 7.7! How come the LOGnnnn files in /usr/adm keep growing and growing?
  113. 7.8  How come I can't lock mail or other files on a Sun?
  114. 7.9  Why are mail files in /usr/mail are owned by daemon instead of the recipient?
  115. 7.10  How can I tell if I need more than a 2-user license?
  116. 7.11  How can I tell what patches are in the kernel?
  117. 7.12  How come I have to hit return after control-d in the Korn shell?
  118. 7.13  How do I boot into single user mode?
  119. 7.14  How come my Korn shell login hangs?
  120. 7.15  How can I avoid those annoying copyright notices on login?
  121. 7.16  How can I turn off quota checking?
  122. 7.17  What are the issues with HP-UX 9.01?
  123. 7.18  Why does chown behave differently at 9.x?
  124. 7.19  How can I track log files and core files?
  125. 7.20  How much memory can a process use?
  126. 7.21  How come there's little discussion of DCE?
  127. 7.22  How can I make a ramdisk?
  128. 7.23  Where can I get SLIP for HP-UX?
  129. 7.24  How come I can't lock files across NFS after upgrading to 9.01?
  130. 7.25  What's a good strategy for clearing /tmp?
  131. 7.26  How can I change the timezone?
  132. 7.27  Is there an equivalent for getrusage()?
  133. 7.28! How can I look at what my system is doing?
  134. 7.29  How can I partition HP-UX disks?
  135. 7.30  How can I print man pages successfully?
  136. 7.31  How can I limit core files?
  137. 7.32  Can I put more than one backup on DDS with fbackup?
  138. 7.33  How can I load multiple patches on a machine at the same time?
  139. 7.34  How can I set up an HP-UX workstation as an X terminal?
  140. 7.35! What causes "Unable to initialize MI" when running Glance?
  141. 7.36  Where can I get pcnfsd on HP-UX?
  142. 7.37  Where can I get ppp for HP-UX?
  143. 8. COMPILERS AND LINKERS
  144. 8.1  What's a P-FIXUP error?
  145. 8.2  Where is regcmp on HP-UX?
  146. 8.3  How come the default C compiler is brain-dead?
  147. 8.4  How do I deal with "too many defines"?
  148. 8.5  How come I get "_builtin_va_start" undefined when I build with gcc?
  149. 8.6  How can I tell if something was built debuggable?
  150. 8.7  Is there some kind of problem with using FLT_MIN in ANSI mode?
  151. 8.8  What's the deal with _INCLUDE_xxxx_SOURCE?
  152. 9. HARDWARE AND PERIPHERALS
  153. 9.1  Are alternate keyboards available for HP workstations?
  154. 9.2  How can I play audio CDs on an HP workstation?
  155. 9.3  How can I enable the LAN interface on a 700?
  156. 9.4  How can I get an Exabyte to work on an HP?
  157. 9.5  Is there a "node ID" on 700s?
  158. 9.6  How can I get a stuck DDS tape out of the drive?
  159. 9.7  How can I use dump with a DDS tape?
  160. 9.8  What is the correct major number for DDS drives on 9.01?
  161. 9.9  How can I set up /dev/audio to point to the external jack on a 700?
  162. 9.10  How can I configure the parallel port handshake on a 700?
  163. 9.11  What are the specs of the audio hardware on the 700 series?
  164. 9.12  What are the various revisions of PA-RISC?
  165. 9.13  How do I read an SGI-written tar format DDS tape?
  166. 9.14  Is there a trackball for the 700?
  167.  
  168.  
  169.  
  170. ------------------------------
  171.  
  172. Subject: 3. FINDING INFORMATION
  173.   
  174. ------------------------------
  175.  
  176. Subject: 3.1! Where can I get a copy of this FAQ file?
  177.  
  178. Many FAQs, including this one, are available via FTP on the Internet
  179. FAQ archive site:
  180.  
  181.   ftp://rtfm.mit.edu/pub/usenet/news.answers/hp-faq
  182.  
  183. This FAQ is also archived on the Interworks archive machine:
  184.  
  185.   ftp://iworks.ecn.uiowa.edu/comp.hp
  186.  
  187. An HTML version of this document is available as:
  188.  
  189.   http://www.cis.ohio-state.edu/hypertext/faq/usenet/hp-faq/faq.html
  190.  
  191. You can also get it by e-mail from mail-server@rtfm.mit.edu; send the
  192. text "send usenet/news.answers/hp-faq".
  193.  
  194. The FAQ is also included with the InterWorks software CD-ROM, the Interex CSL, 
  195. and the Walnut Creek Internet CD-ROM. Note that these versions were current 
  196. when the respective distributions were frozen.
  197.  
  198. If all else fails, contact the maintainer (greg_cagle@mentorg.com).
  199.   
  200. ------------------------------
  201.  
  202. Subject: 3.2  Courses on HP-UX
  203.  
  204. Call the following numbers for information or the latest HP Education Catalog.
  205. U.S.:    1-800-HPCLASS {1-800-472-5277}
  206. Canada:  (416)678-9430
  207.   
  208. ------------------------------
  209.  
  210. Subject: 3.3  Interex, The International Association of HP Computer Users
  211.  
  212. Interex is the International Association of HP Computer Users and the largest HP
  213. user group in the world.  The organization is more than 19 years old with
  214. thousands of members worldwide.  It represents HP users of all kinds including
  215. HP9000, HP3000, HP1000, and Vectra PC's with annual conferences attracting
  216. vendors from all over the world.  Interex publishes "Interact" for the HP3000
  217. and Vectra PC user, "hp-ux/usr" for the HP9000 user and a realtime operating
  218. system newsletter for the HP1000 users.
  219.  
  220. There are many regional users groups, many holding annual or semiannual
  221. conferences, and Interex has a collection of software (with sources)  covering
  222. MPE, HP-UX and RTE called the Contributed Software Library.
  223.  
  224. To contact Interex:
  225.    (800) INT-EREX  or (800) 468-3739
  226.    or:  (408) 747-0227
  227.    fax: (408) 747-0947
  228.    email: ehrhardt@interex.org   .. editor of hp-ux/usr magazine
  229.           pubs@interex.org       .. Circulation/advertising
  230.           membership@interex.org .. membership inquiries
  231.           cslhpux@interex.org    .. contributed software library (hp-ux)
  232.    Compuserve:  76376,1222
  233.    Address:  Interex                   Interex  (for US mail)
  234.              1192 Borregas Avenue.     P.O. Box 3439
  235.              Sunnyvale, CA 94088       Sunnyvale, CA  94088-3439
  236.   
  237. ------------------------------
  238.  
  239. Subject: 3.4  InterWorks, The International HP Workstation Users Group
  240.  
  241. InterWorks, formerly the Apollo Domain User's Society (ADUS), was formed to
  242. provide a users group specifically for HP _workstation_ users. The group
  243. publishes a quarterly newsletter, "The Works", holds an annual conference (see
  244. below), and maintains a library of HP-UX (and DOMAIN) software (see below).
  245. Membership is free; please contact Carol Relph for more information:
  246.  
  247. Carol Relph
  248. Manager, Member Services
  249. InterWorks, Inc.
  250. c/o Hewlett-Packard Company
  251. Workstation Business Unit
  252. 300 Apollo Drive, Mailstop IWORKS
  253. Chelmsford, MA  01824-3623
  254. (508)256-6600
  255. E-Mail:  relph_c@apollo.hp.com
  256.   
  257. ------------------------------
  258.  
  259. Subject: 3.5  Interex HP Users Conferences 1994
  260.  
  261. For more information, please contact the INTEREX Conference Department
  262. at the above address.
  263.   
  264. ------------------------------
  265.  
  266. Subject: 3.6  InterWorks Conference 1994
  267.  
  268. The next InterWorks conference is to be held 5/15/94 -  5/18/94 at the Buena
  269. Vista Palace in Walt Disney World Village, Buena Vista,  Florida.
  270.   
  271. ------------------------------
  272.  
  273. Subject: 3.7  HP/Works
  274.  
  275. HP/Works is basically the UK equivalent of InterWorks - catering for users
  276. of HP workstations running both HP-UX and Domain/OS. Full membership
  277. details are avaiable from:-
  278.  
  279.     Helen Grainger,
  280.     PO Box 47,
  281.     Bicester,
  282.     United Kingdom +44 (0)869 321080
  283.  
  284. or by e-mail to J.G.Owen@bham.ac.uk
  285.  
  286. ------------------------------
  287.  
  288. Subject: 3.8  HP/Works Conferences
  289.  
  290. The next conference (Spring) is 3/23 - 3/24 in Durham, England.
  291.  
  292. The conference is a two-day event as follows:
  293.  
  294. DAY  ONE is a half day workshop/clinic with hands on tutorial sessions
  295. covering HP-UX  and  associated  HP  software  products.  Topics  will
  296. include  the  use  of  GLANCE  (including GPM, the new X-windows based
  297. interface), using  NETDIST  to  update  a  group  of  workstations,  a
  298. demonstration  of  the  ATRIA  software  products  and  accessing HP's
  299. Bristol Supportline.
  300.  
  301. DAY TWO is the main conference/AGM day and will include an  update  on
  302. the  very  latest  information from HP, presentations on Management of
  303. Distributed Computer Systems & High Speed Networking -  plus  an  Open
  304. Forum  -  your  chance to ask senior HP representatives the things you
  305. really need to know
  306.  
  307. Further details about the conference can be obtain from either Helen
  308. Grainger or by e-mail via j.g.owen@bham.ac.uk.
  309.  
  310. ------------------------------
  311.  
  312. Subject: 3.9  HP-UX publicly available software from InterWorks.
  313.  
  314. Dave Shaw maintains a library of publicly available HP-UX related software on
  315. behalf of the InterWorks User Group. He can be reached at (303)443-9413,
  316. or via e-mail at <librarian@iworks.ecn.uiowa.edu>. The following text
  317. is provided by Dave. See the README mentioned below for details.
  318.  
  319. There is an archive of UX-related software on the InterWorks library node
  320. (iworks.ecn.uiowa.edu--128.255.18.10). Note that everything is available  via
  321. anonymous ftp in the comp.hp directory (ftp://iworks.ecn.uiowa.edu/comp.hp). The
  322. README there contains a complete  list of the available software. Nearly all of
  323. it is also available on a CD for $75.00 ($85.00 outside the U.S.). For ordering
  324. information contact  Carol Relph.
  325.  
  326. All of the archive is suitable for the 700 series machines, and I have started
  327. to verify that. Executables are included in some packages. If you take a package
  328. and find that you must build an executable (or do some porting) for your machine
  329. and/or OS level, I would appreciate hearing about your work and receiving a copy
  330. of the executable you built.
  331.  
  332. Note that I have had very little involvement in the writing or packaging  of any
  333. of the items on the list-- they are the result of the work of many  other
  334. people. In particular, note that the available binaries have not been compiled
  335. by me. If you are concerned about running binaries compiled by someone else,
  336. build them yourself with the available source. Also note  that individual
  337. authors may include text regarding the rights of others to use and distribute
  338. their code. 
  339.  
  340. Thanks to all the contributors.
  341.   
  342. ------------------------------
  343.  
  344. Subject: 3.10  Anonymous FTP Sites for HP-UX, and UNIX related software.
  345.  
  346. Site:      ftp://iworks.ecn.uiowa.edu/comp.hp
  347. Address:   128.255.18.10
  348. Contents:  The InterWorks HP-UX Library in the directory "comp.hp" as
  349.            described above. The iworks node also keeps the last 4-6 
  350.            months of comp.sys.hp.hpux online (via an InterWorks member logon 
  351.            (see question 3.4 above). An archive going back to June 1990 
  352.            is available-- contact the InterWorks librarian for details.
  353.            Additionally, a large (~1300 line) "HP-UX Troubleshooting
  354.            Guide" is available under the InterWorks member logon.
  355.  
  356. Name:      ftp.csc.liv.ac.uk
  357. Address:   138.253.42.172
  358. Contents:  Large number of packages ported to HP-UX 8.07 and 9.01
  359.  
  360. Here is an overview of ftp.csc.liv.ac.uk as of Sun 10 Apr 1994:
  361. (The 2 most recently installed packages in each category are in brackets)
  362.  
  363.  54 packages in /hpux9/X11R5/Graphics   (ImageMagick-2.3.7 xpm-3.4a)
  364.  43 packages in /hpux9/Games            (xpilot-3.1.1 xpilot_sounds-3.1.0)
  365.  42 packages in /hpux9/X11R5/Misc       (fvwm-1.21z xmailbox++-1.2)
  366.  32 packages in /hpux9/Networking       (wuftpd-2.3 inn-1.4sec)
  367.  27 packages in /hpux8/Maths/Misc       (octave-1.0 fudgit-2.34)
  368.  25 packages in /hpux8/X11R4/Misc       (xsky-2.01 xvertext-5.0)
  369.  24 packages in /hpux9/Gnu              (bulletin-01.94 indent-1.9.1)
  370.  23 packages in /hpux9/X11R5/Demos      (xlockmore-1.2 xmountains-1.2)
  371.  21 packages in /hpux8/Games            (xblockbuster-1.03 xyahtzee-1.01)
  372.  19 packages in /hpux9/X11R5/Networking (freeWAIS-0.3 xbrowser-1.2)
  373.  18 packages in /hpux8/Networking       (netperf-1.7.1 tftpd-1.0)
  374.  17 packages in /hpux9/X11R5/Toolkits   (libsx-1.0 wxLib-1.50)
  375.  16 packages in /hpux9/Text             (ispell-3.1.04 dvips-5.55)
  376.  16 packages in /hpux9/Sysadmin         (expect-5.6.3 lsof-2.32)
  377.  16 packages in /hpux8/X11R4/Demos      (xball-3.0 xspringies-1.1)
  378.  15 packages in /hpux9/X11R5/Core       (imake-5.03 imake-5.02)
  379.  15 packages in /hpux9/Misc             (screen-3.5.4alpha pcomm-2.0.1)
  380.  15 packages in /hpux8/X11R4/XView3     (workman-1.2.1 workman-1.2)
  381.  14 packages in /hpux8/X11R4/Toolkits   (andrew-5.1.part04 Wcl-2.5)
  382.  13 packages in /hpux9/Editors          (nedit-3.0 xcoral-2.1)
  383.  13 packages in /hpux8/Maths/LinAlgebra (rlab.all-0.97d rlab-0.97d)
  384.  11 packages in /hpux8/Misc             (gaps-5.11 csound-2.00b)
  385.  10 packages in /hpux9/Languages        (swi-1.8.9 sgmls-1.1)
  386.   9 packages in /hpux9/Users            (less-178.magic.2 pine-3.89)
  387.   8 packages in /hpux8/X11R4/Graphics   (xv-2.21 xscribble-a6)
  388.   8 packages in /hpux8/X11R4/Core       (MITlib-4.00 appres-1.5)
  389.   8 packages in /hpux8/Sysadmin         (rpasd-2.0 pltools-2.0.2)
  390.   8 packages in /hpux8/Physics          (asa-2.27 asa-2.15)
  391.   8 packages in /hpux8/Languages        (gofer-2.28b scheme-7.1.3)
  392.   7 packages in /hpux8/X11R5            (XR5src-5.23.part01 XR5built-5.23)
  393.   7 packages in /hpux8/X11R4/Networking (adcmail-0.9 collage-1.0b)
  394.   7 packages in /hpux8/Text             (tr2latex-2.2a TeX-3.14)
  395.   6 packages in /hpux8/NeuralNets       (am-6.0 GAucsd-1.4)
  396.   5 packages in /hpux8/Users            (xmodem-3.9 es-0.84)
  397.   4 packages in /hpux9/NeuralNets       (snns-3.1 atree-2.0)
  398. =======================================
  399. 584 packages in total
  400.  
  401. The Liverpool archive supports a gopher server at gopher.csc.liv.ac.uk
  402. (138.253.42.174) and also a mail server at mail-server@csc.liv.ac.uk for
  403. users without access to anonymous FTP.
  404.  
  405. Name:      hpux.ask.uni-karlsruhe.de
  406. Address:   129.13.200.57
  407. Contents:  The official German mirror site of ftp.csc.liv.ac.uk
  408.  
  409. Name:      ftp.cae.wisc.edu
  410. Address:   144.92.4.15
  411. Contents:  The official US mirror site of ftp.csc.liv.ac.uk
  412.  
  413. Name:      hpux.cict.fr
  414. Address:   192.70.79.53
  415. Contents:  The official French mirror site of ftp.csc.liv.ac.uk
  416.  
  417.  
  418. The Interworks and Liverpool sites are now cooperating as follows:
  419.  
  420. 1) The Liverpool archive will carry packages originating from and submitted to
  421.    the Interworks site.  These packages will  be integrated into the  existing
  422.    structure of the archive.
  423.  
  424. 2) Interworks will provide binaries for each of the  packages on the Liverpool
  425.    archive.  These  packages  will be  organized into  a  directory  structure
  426.    matching  that of  the Liverpool  site. *** Note:  This is  not immediately
  427.    available but should be up and running soon ***
  428.  
  429. 3) Interworks will continue to provide complete packages (source+binaries) for
  430.    the HP and user-contributed software in its library.
  431.  
  432. Site:      ftp://ftp.prz.tu-berlin.de 
  433. Address:   130.149.62.68
  434. Contents:  Much of the Liverpool archive.
  435.  
  436. Site:      ftp://export.lcs.mit.edu
  437. Address:   18.24.0.12
  438. Contents:  The X Window System and contributed clients.
  439.  
  440. Site:      ftp://hpcvaaz.cv.hp.com
  441. Address:   15.255.72.15
  442. Contents:  X Window System libraries and utilities.
  443.            ftp://hpcvaaz.cv.hp.com/pub/700RX/released/b0502 
  444.            contains the latest version of the 700RX software.  There are 
  445.            subdirectories for HP-UX hosts, Solaris and SunOS.
  446.            
  447. Site:      ftp://ftpboi.external.hp.com
  448. Address:   192.6.71.2
  449. Contents:  Drivers for HP printers.
  450.            
  451. Site:      ftp://lut.fi/pub/hpux
  452.            ftp://lut.fi/pub/unix/hp-ux
  453. Address:   157.24.10.8
  454. Contents:  Various
  455.  
  456. Site:      ftp://nic.funet.fi/pub/unix/arch/hpux
  457. Address:   128.214.6.100
  458. Contents:  Various
  459.  
  460. Site:      ftp://prep.ai.mit.edu
  461. Address:   18.71.0.38
  462. Contents:  The Free Software Foundation's GNU utilities, etc.
  463.  
  464. Site:      ftp://hybrid.irfu.se/pub
  465. Address:   130.238.30.23
  466. Contents:  X11 archive and shared libraries, full imake support,
  467.            and all missing .h files for both X11R4 and R5, dvi2pcl.
  468.  
  469. Site:      ftp://geod.emr.ca
  470. Address:   ?
  471. Contents:  GNU stuff ported to HP-UX 9.x by Pierre Mathieu.
  472.  
  473. Site:      ftp://jazz.gsfc.nasa.gov
  474. Address:   ?
  475. Contents:  bathymetry, FFT, graph, pgplot, triangulation, sortroutine
  476.  
  477. Site:      ftp://jaguar.cs.utah.edu/dist
  478. Address:   ?
  479. Contents:  FSF compiler/assembler/debugger tools. Code usually
  480.            has PA specific bugfixes/enhancements not yet in the 
  481.            official FSF releases.  Source and binaries available.
  482.            hpux-symtab.h has symbolic debug format documentation.
  483.            hpgdb.patch has a gdb patch for HP compilers.
  484.  
  485.            Currently available in the "dist" directory:
  486.  
  487.            GDB 4.11.u2     - Last update 12/04/93
  488.            HPGDB 4.11.u2   - Last update 12/04/93
  489.            GAS 2.2.u2      - Last update 12/04/93
  490.            GCC 2.5.6.u4    - Last update 12/04/93
  491.            LIBG++ 2.5.2.u2 - Last update 12/04/93
  492.  
  493.            Yes, you see gas-2.2; the first cut at a BFD based SOM assembler 
  494.            for the PA is ready for external use.  Release notes are in 
  495.            README.gas.
  496.  
  497.            The prebuilt binaries can be retrieved all at once from 
  498.            hpuxbin.tar.Z, or in pieces from the hpuxbin directory.
  499.  
  500. ------------------------------
  501.  
  502. Subject: 3.11  Where can I get a demo CD with software for HP-UX?
  503.  
  504. See your friendly local HP sales rep to get a copy of the "Power On II" CD.
  505. Be sure and check out the Drive demo.
  506.   
  507. ------------------------------
  508.  
  509. Subject: 3.12! HP-UX patch information and mailing list.
  510.  
  511. To determine what patches are installed:
  512.  
  513. The standard patch installation will leave a directory in /system
  514. that is is name of the patch.  For example, PHSS_3259 creates
  515.  
  516. /system/PHSS_3259
  517.  
  518. $lsf /system/PHSS_3259
  519. CDFinfo     copyright   customize*  index       new/        orig/
  520.  
  521. The orig directory contains the modules that were replaced by the  patch and the
  522. new directory will contain any modules that were not installed for whatever
  523. reason.  
  524.  
  525. This can take up a lot of space, so you may want to archive  this directory and
  526. remove the new and orig sub-directories.  You may want to leave the customize
  527. file because it has a list of the modules replaced. To see the list do:
  528.  
  529.    grep Patch customize | grep -v \#
  530.  
  531. Another place to look is in /etc/filesets:
  532.  
  533. $ls /etc/filesets/PHSS*
  534. /etc/filesets/PHSS_1644  /etc/filesets/PHSS_2695  /etc/filesets/PHSS_3060
  535. ...
  536. /etc/filesets/PHSS_2686  /etc/filesets/PHSS_3032  /etc/filesets/PHSS_3328
  537.  
  538. If someone has removed the /system/PHSS* directories and the PHSS*
  539. entries in /etc/filesets, there is no easy way to tell what patches
  540. are installed.  You can tell if a given patch has been installed by
  541. comparing what(1) and sum(1) outputs with those given in the 
  542. PHSS_nnnn.text file. Refer to question 7.11 about kernel patches. 
  543.  
  544. How to get patches:
  545.  
  546. There are three ways to get patches.
  547.  
  548. If you have a support contract you can call the Response Center (800-633-3600)
  549. and have the patches sent to you on magnetic media.
  550.  
  551. If you have Basic support or Response Center support you can access the Support
  552. Line (support.mayfield.hp.com,192.6.148.19) and down load patches via ftp,
  553. uucp, or kermit. The access can be modem or internet.
  554.  
  555. Regardless of the support you have, you can get patches via e-mail via the
  556. SupportLine mail service. To get the user guide, send e-mail to
  557. <support@support.mayfield.hp.com>, with "send guide" in the text portion of the
  558. message. No subject is required. The result is nroff-formatted; to get the plain
  559. ASCII version, use "send guide.txt". In addition to patches, you can also access
  560. online problem solving information, subscribe to mailing lists, and get
  561. documents.
  562.  
  563. John Morris of the Atlanta Response Center posts a weekly list of  new patches
  564. to comp.sys.hp.hpux on Mondays.  It tells what's  new and what patches are 
  565. replaced by the new patches, along with sizes.
  566.  
  567. Additionally, there is an HP-UX patch mailing list, run by Bart Muyzer 
  568. <bartm@cv.ruu.nl>. To SUBSCRIBE, send e-mail to: <hpux-patch-request@cv.ruu.nl>
  569. There is a discussion underway to change the focus of this list from
  570. patches to sysadmin; stay tuned for further developments.
  571.  
  572. For reference, the latest patches for critical parts of 9.01 are:
  573.  
  574. PHKL_2449 :  s700 9.01 limit dynamic buffer cache allocation
  575. PHKL_3075 :  s700 9.01 Fix for select() panic and memory leak
  576. PHKL_3985 :  s700 9.01 kernel megapatch 
  577. PHNE_3604 :  s700_800 9.X fix for multiple rpc.lockd problems
  578. PHNE_3701 :  s700_800 9.X automount(1M) patch including map entry fix
  579. PHNE_3424 :  s700_800 9.X fix for multiple rpc.statd problems
  580. PHSS_3812 :  s700 9.X /bin/ld fixes
  581. PHSS_3773 :  s700 9.X ANSI C compiler patch revision A.09.63
  582. PHSS_3779 :  s700 9.X X11R5 Xserver March 1994 Periodic Patch
  583.  
  584. Similar patches for 9.03 are:
  585.  
  586. PHKL_2755 :  s700 9.03 fix for dynamic buffer cache performance problem
  587. PHKL_3076 :  s700 9.03 Fix for select() panic
  588. PHKL_3570 :  s700 9.03 data segmentation fault when calling vfork()
  589. PHKL_3621 :  s700 9.03 patch for NFS/symbolic links/fsync
  590. PHNE_3388 :  s700_800 9.X corrects rpc.mountd problems
  591. PHNE_3424 :  s700_800 9.X fix for multiple rpc.statd problems
  592. PHNE_3573 :  s700 9.03 fixes multiple ARPA Transport defects
  593. PHNE_3604 :  s700_800 9.X fix for multiple rpc.lockd problems
  594. PHSS_3773 :  s700 9.X ANSI C compiler patch revision A.09.63
  595. PHKL_3975 :  s700 9.03 kernel megapatch with NFS readdir/seekdir fix
  596. PHSS_3812 :  s700_800 9.X ld(1) patch
  597. PHSS_3779 :  s700 9.X X11R5 Xserver March 1994 Periodic Patch
  598.  
  599. ------------------------------
  600.  
  601. Subject: 3.13  How can I send mail to an "hpdesk" address?
  602.  
  603. For a person whose DESK address is:
  604.   JANE DOE /HP1234/XY
  605.  
  606. Ignore the subentity (XY) and use the form:
  607.   jane_doe@hp1234.desk.hp.com
  608.  
  609. Send them a test message and tell them to make a note of the return address,
  610. as forming internet addresses on DESK is a little more complicated.  If
  611. there is an X.400 system between you and the DESK person, what you get back
  612. may look like a very strange internet address, but it generally works.
  613.  
  614. Notice the underscore between names.  Names can be first_last or last_first, but
  615. first_last is easier to remember and get correct, especially if they have
  616. initials in their name as in fred_l_doe@hpatc1.desk.hp.com.  Be sure that the
  617. DESK address they give you is exactly what is reported by DESK when they send a
  618. message to themselves or look at the distribution list on a piece of mail the
  619. recipient already has to verify the address.
  620.  
  621. (Thanks to Bob Niland and Bill Hassell)
  622.   
  623. ------------------------------
  624.  
  625. Subject: 3.14  What are the known issues with porting BSD-based programs to HP-UX?
  626.  
  627. Mike Peterson <system@alchemy.chem.utoronto.ca> periodically posts
  628. his list of BSD-HP tricks to comp.sys.hp.hpux. It is also archived on the
  629. iworks FTP site (mentioned above) as "hptricks".
  630.   
  631. ------------------------------
  632.  
  633. Subject: 3.15  What periodicals are available that focus on HP-UX?
  634.  
  635. o Interworks publishes The Works, a user group newsletter for Interworks
  636.   members.
  637.  
  638. o Interex publishes hp-ux/usr, an HP-UX focused newsletter.
  639.  
  640. o HP Professional (The Magazine for Hewlett-Packard Enterprise Computing)
  641.  
  642.   This magazine covers MPE, HP-UX, PCs, peripherals and Networking for
  643.   HP users.  Its focus is on both commercial as well as technical
  644.   computing. It is published by:
  645.           Cardinal Business Media, Inc.
  646.           101 Witmer Road
  647.           Horsham, PA 19044
  648.           (215) 957-1500     FAX: (215) 957-1050
  649.    email: simpson@cardinal.com (editor-in-chief)
  650.       
  651. o The HP Chronicle (The Independent Newspaper for HP Computer Users)
  652.     
  653.   This tabloid-sized newspaper contains news from HP and other vendors 
  654.   of compatible hardware, software and peripherals. Published by:
  655.                Publications and Communications, Inc
  656.                12416 Hymeadow Drive
  657.                Austin, TX  8750-1896
  658.                (512) 250-9023    Fax: (512) 231-3900
  659.                email: {cs.utexas.edu, execu, texbell}!pcinews!wks
  660.                Compuserve: 76011,307
  661.                MCI mail: PCI
  662.                EasyLink: 62755060
  663.  
  664. o HP/Apollo Workstation
  665.  
  666.   A magazine that focuses specifically on HP/Apollo workstations.
  667.   Published by PCI (same as HP Chronicle).
  668.   
  669. o Open Systems Today (general Unix and other "open systems" weekly)
  670.   has a regular "HP Focus" section.
  671.   
  672. o Unix Review covers general Unix topics monthly.
  673.  
  674. (Thanks to Bill Hassell, HP, for most of this)
  675.   
  676. ------------------------------
  677.  
  678. Subject: 3.16  Books on HP-UX
  679.  
  680. A recently published book on HP-UX system administration:
  681.  
  682.   'The HP-UX System Administrator's "How To" Book'
  683.    by Marty Poniatowski
  684.      Prentice-Hall
  685.      ISBN 0-13-099821-4
  686.      
  687. If you're serious about adminstering HP-UX workstations, get this book.
  688. Unfortunately, it fails to mention the Internet or this FAQ as
  689. alternate resources, but it does discuss Interworks and Interex.
  690.      
  691. (Thanks to Mike Taylor, HP)
  692.  
  693. ------------------------------
  694.  
  695. Subject: 4. THIRD PARTY VENDORS
  696.  
  697. ------------------------------
  698.  
  699. Subject: 4.1  Third party vendors for RAM.
  700.  
  701. The following vendors are listed in alphabetical order. No guarantees
  702. are made regarding compatibility or relative merit of the vendors.
  703.  
  704. Camintonn                          Clearpoint Research Corporation
  705. 22 Morgan                          1000 E. Woodfield Road, Suite 102
  706. Irvine, CA 92718                   Schaumburg, IL 60173
  707. (800) 843-8336                     (708) 619-9227
  708. (714) 454-6500
  709.  
  710. Concorde Technologies              Dataram
  711. 7966 Arjons Dr. B-201              PO Box 7528
  712. San Diego, CA 92126                Princeton, NJ 08543-7528
  713. (800) 359-0282                     (800) DATARAM
  714. (619) 578-3188                     (800) 799-0071
  715.  
  716. Digitial Micronics                 Eventide
  717. 2075 Corte Del Nogal               1 Alsan Way
  718. Unit N                             Little Ferry, NJ 07643
  719. Carlsbad, CA 92009                 (201) 641-1200
  720.  
  721. Helios Systems                     Herstal Automation
  722. 1996 Lundy Ave                     3171 West Twelve Mile Rd.
  723. San Jose, CA 95131                 Berkley, MI 48072
  724. (408) 432-0292                     (313) 548-2001
  725. (800) 366-0283
  726.  
  727. IEM                                Infotek Systems
  728. P.O. Box 1889                      625 South Lincoln
  729. Fort Collins, CO 80522             Suite 204
  730. (800) 321-4671                     Steamboat Springs, CO 80487
  731. (303) 221-3005                     (800) 767-1084
  732.  
  733. Intelligent Interfaces             ISA Ltd
  734. P.O. Box 1486                      1-1-5 Sekiguchi
  735. Stone Mountain, GA 30086-1486      Bunkyo-Ku
  736. (800) 842-0888                     Tokyo 112 Japan
  737.                                    81-3 (5261) 1160
  738.                                    US Office (Texas)
  739.                                    (713) 493-9925
  740.  
  741. Kelly Computer Systems             Kingston Technology Corporation
  742. 1101 San Antonio Rd.               17600 Newhope Street
  743. Mountain View, CA 94043            Fountain Valley, CA 92708
  744. (415) 960-1010                     (714) 435-2600
  745.  
  746. Martech                            Merida Systems
  747. 1151 W. Valley Blvd.               (617) 933-6790
  748. Alhambra, CA 91803-2493
  749. (800) 582-3555
  750. (818) 281-3555
  751.  
  752. MDL Corporation
  753. 15301 NE 90th St.
  754. Redmond, WA 98052
  755. FAX (206)861-6767
  756. (800)800-3766
  757. (206)861-6700
  758.  
  759. Newport Digital                    R Squared
  760. 14731 Franklin Avenue              11211 E. Arapahoe Rd., Suite 200
  761. Suite A                            Englewood, CO 80112
  762. Tustin, CA 92680                   (303) 799-9292
  763. (714) 730-3644                     (800) 777-3478
  764.  
  765. (Thanks to Roy McMorran <mcmorran@ll.mit.edu>)
  766.   
  767. ------------------------------
  768.  
  769. Subject: 4.2  Third party vendors for peripherals
  770.  
  771. Vendor              Products
  772. ------              --------
  773. MDL Corporation     Disk, tape, optical, jukebox, EISA expansion, RAID, others.
  774. 15301 NE 90th St.
  775. Redmond, WA 98052
  776. FAX (206)861-6767
  777. (800)800-3766
  778. (206)861-6700
  779.  
  780. Modular Industrial  MICHIL PS2 to HP-HIL converter. Allows standard PC keyboards
  781. Computers           and mice to be connected to HP workstations.
  782. 615-499-0700
  783. Joe Malley
  784.  
  785. ITAC Systems, Inc.  Supports Mouse-trak trackball for HP-HIL
  786. 3113 Benton St.
  787. Garland, Tx 75042
  788. 800-533-4822
  789. yvonne@moustrak.com
  790.  
  791. (Thanks to Mike Lampi, MDL, Jeff Dwork, AMD, and Walter Underwood, HP)
  792.  
  793. ------------------------------
  794.  
  795. Subject: 5. UTILITIES
  796.  
  797. ------------------------------
  798.  
  799. Subject: 5.1  ASCII to Postscript converter.
  800.  
  801. You can get an ASCII to Postscript converter from:
  802.  
  803. ftp://ftp.uu.net/usenet/comp.sources.misc/volume10/a2ps3.Z
  804.  
  805. Additionally, nenscript is available from various FTP sites.
  806.   
  807. ------------------------------
  808.  
  809. Subject: 5.2  How do I make perl on HP-UX?
  810.  
  811.    Reply like this to Configure:
  812.  
  813.    1. When it asks for optimization flags answer
  814.         +O1 if you have HP-UX 7.05 or less
  815.         -O  if you have HP-UX 8.0 or later.
  816.    2. When it asks for additional flags to cc answer
  817.         -DJMPCLOBBER
  818.    3. When it asks for additional libraries answer
  819.     -lndbm -lm    (ignore the other libraries Configure finds).
  820.       You can also safely add -lBSD if you wan't BSD signal semantics.
  821.    4. When it asks if you wan't to use perl's malloc answer
  822.     y
  823.       If you have HP-UX 8.07 or later you may choose to answer no to this since
  824.       that malloc is OK.
  825.    5. When perl asks on which boundarie a double must be aligned answer
  826.     8    if you are on a 9000/800 or 9000/700 series machine (HP-PA
  827.          architecture).
  828.     2    otherwise (Motorola 68k architecture)
  829.   
  830. ------------------------------
  831.  
  832. Subject: 5.3  What is the status of the various gnu items on HP-UX?
  833.  
  834. Pierre Mathieu <mathieu@geod.emr.ca> periodically posts a list to
  835. comp.sys.hp.hpux; the last revision is 2.3. Jeff Law of the University of Utah
  836. maintains an archive on jaguar.cs.utah.edu of the latest PA-RISC ported compiler
  837. tools; see question 3.10 above for details.
  838.  
  839. ------------------------------
  840.  
  841. Subject: 6. X WINDOW SYSTEM, MOTIF, AND HP-VUE
  842.  
  843. ------------------------------
  844.  
  845. Subject: 6.1  X11 libraries (Athena, etc.) and utilities (imake, etc.).
  846.  
  847. As you may have noticed, HP does not ship a "full" set of X11 libraries and
  848. include files, and does not provide imake or associated tools. There is a HP
  849. maintained, but UNSUPPORTED, set of X11R4 libraries and utilities for the HP
  850. 9000 Series 300, 400, 700, and 800.  You can get the libraries, include files,
  851. and config files (imake) via anonymous FTP from 
  852.  
  853. ftp://hpcvaaz.cv.hp.com/pub/MitX11R4/libs.s*00.tar.Z. 
  854.  
  855. This is also archived on the iworks node as mentioned above. HP has also
  856. submitted X11R5 sources to the iworks node as mentioned above. And, Bo Thide has
  857. X11R4 and R5 support available via anon. FTP as mentioned above.
  858.   
  859. ------------------------------
  860.  
  861. Subject: 6.2  How can I display an image on the root window with HP-VUE?
  862.  
  863. Set Vuewm*backdrop*image:   none. Note that there is an explicit pick for this
  864. in the Style Manager with HP-VUE 3.0. When the backdrop is clear, you can use
  865. xloadimage, xsetroot, xv, or the like to display the image of your choice.
  866.   
  867. ------------------------------
  868.  
  869. Subject: 6.3  How do I get a scroll bar on hpterms?
  870.  
  871. Set the following resources:
  872.  
  873. HPterm*scrollBar:    TRUE
  874. HPterm*saveLines:    1024
  875.  
  876. or some other other arbitrarily large number.  To do this interactively, use
  877. "hpterm -sb -sl 1024". You can also set these in an app-default file
  878. (/usr/lib/X11/app-defaults/HPterm). You can also set saveLines to something
  879. like "4s", which indicates four screens.
  880.   
  881. ------------------------------
  882.  
  883. Subject: 6.4  How can I put a title in my hpterm titlebar?
  884.  
  885. Here is a two line program that you might find useful:
  886.  
  887. /* Quick and dirty program to put argv[1] in the title bar of an hpterm
  888.    Tom Arons March 1992
  889. */
  890. #include <string.h>
  891. main(argc,argv)
  892.         int argc; char **argv;
  893. {
  894.         printf("\033&f0k%dD%s", strlen(argv[1]), argv[1]);
  895.         printf("\033&f-1k%dD%s", strlen(argv[1]), argv[1]);
  896. }
  897.  
  898. An alternative is:
  899.  
  900. #!/bin/sh
  901. LENGTH=`strlen $1`
  902. echo "&f0k${LENGTH}D$1\c"
  903.  
  904. In case in gets mangled, that's ESC between the first quote and the f0k.
  905.  
  906. strlen, in case you don't have it, comes from:
  907.  
  908. #include <stdio.h>
  909.  
  910. main(argc, argv)
  911.    int argc;
  912.    int *argv[];
  913. {
  914.    if (argc != 2)
  915.       exit(0);
  916.    printf("%d\n", strlen(argv[1]));
  917. }
  918.  
  919. (Thanks to Tom Arons <arons@ash.eecs.ucdavis.edu> and John T. Beck, HP.)
  920.   
  921. ------------------------------
  922.  
  923. Subject: 6.5  How come my hpterms keep going away by themselves?
  924.  
  925. You are probably using the C Shell (/bin/csh) and have autologout set (it is
  926. set to 60 minutes by default).  Put an "unset autologout" in your ".cshrc".
  927.  
  928. If you are using the korn shell it is probably due to the value set for
  929. the shell variable TMOUT.  Set it to 0 (infinite timeout).
  930.  
  931. (Thanks to Jim Sharpe <jms@spatial.com> for the Korn Shell information.)
  932.   
  933. ------------------------------
  934.  
  935. Subject: 6.6  How come my HP X/Motif clients take a LONG time to display on a Sun?
  936.  
  937. The problem is with the OW3 server.  You can request OW3 patch 100444-35 (or
  938. whatever is the current replacement) from Sun to fix the problem. Supposedly
  939. this has been rolled into OW 3.0.1. A workaround is to set the X resource
  940. *useColorObj: False on the Sun.
  941.   
  942. ------------------------------
  943.  
  944. Subject: 6.7  How can I get my login stuff to work under HP-VUE?
  945.  
  946. When you login  via VUE, VUE  sources  ~/.vueprofile  *INSTEAD  OF* your .login
  947. (csh),  .profile  (sh/ksh),  and other  startup  files.  Whatever actions  are
  948. taken in  ~/.vueprofile  are  persistent  across any  children started  by VUE.
  949. Meaning that if you  symbolic  link  ~/.vueprofile  to your ~/.profile,  then
  950. VUE will source your  ~/.profile  before  starting the window system, and all
  951. children  (hpterms/xterms  and their  interactive shells) will inherit this
  952. environment (prompt variables et al).
  953.  
  954. Documentation indicates your ~/.vueprofile should contain either csh, or sh/ksh
  955. syntax, depending upon what your login shell is.
  956.  
  957. When csh is my login shell, I set my  ~/.vueprofile  to contain only two
  958. lines:
  959.  
  960.     if ( -f /etc/csh.login ) source /etc/csh.login
  961.     if ( -f ~/.cshrc ) source ~/.cshrc
  962.  
  963. When sh/ksh is my login shell, I set my ~/.vueprofile to contain only two
  964. lines:
  965.  
  966.     test -f /etc/profile && . /etc/profile
  967.     test -f ${HOME}/.profile && . ${HOME}/.profile
  968.  
  969. So, before  starting the window  manager and any clients, VUE makes sure that
  970. all my shell startup files are sourced and all the variables I want in my shell
  971. environment are already there and waiting for me.
  972.  
  973. (Thanks to Steve Jumonville, HP)
  974.   
  975. ------------------------------
  976.  
  977. Subject: 6.8  How can I get console messages to go to an hpterm?
  978.  
  979. You can avoid console messages writing to your graphics planes and trashing your
  980. VUE session by starting an hpterm and designating it to receive console
  981. messages, and to de-iconify, when console messages are received.  Put something
  982. like this in your "vue.session" file in ~/.vue/sessions/home. (line wrapped
  983. for readability):
  984.  
  985. # Start up the  Terminal  Console as iconic,  and raise it if any output
  986.  
  987. vuesmcmd -cmd "hpterm -C -iconic -ls -sb -sl 256 -name Console -T Console 
  988. -xrm *mapOnOutputDelay:\ 30 -xrm *mapOnOutput:\ True 
  989. -xrm Console*clientFunctions:\ -close -xrm *workspaceList:\ all"
  990.  
  991. (Thanks to Steve Jumonville, HP)
  992.   
  993. ------------------------------
  994.  
  995. Subject: 6.9  What happened to the vuewm key accelerators at VUE 3.0?
  996.  
  997. Well, we don't really know. Here's how to set them, though.
  998. Add an entry like this (you can, of course, customize it to your
  999. liking) to your $HOME/.vue/vuewmrc file:
  1000.  
  1001. Menu VueWindowMenu
  1002. {
  1003.     "Restore"          _R        Alt<Key>F5         f.normalize
  1004.     "Move"             _M        Alt<Key>F7         f.move
  1005.     "Size"             _S        Alt<Key>F8         f.resize
  1006.     "Minimize"         _n        Alt<Key>F9         f.minimize
  1007.     "Maximize"         _x        Alt<Key>F10        f.maximize
  1008.     "Lower"            _L        Alt<Key>F3         f.lower
  1009.      no-label                                       f.separator
  1010.     "Occupy..."        _O        Alt<Key>O          f.workspace_presence
  1011.     "Occupy all"       _a        Alt Shift<Key>O    f.occupy_all
  1012.      no-label                                       f.separator
  1013.     "Remove from WS"   _e        Alt Shift <Key>F4  f.remove
  1014.     "Close"            _C        Alt<Key>F4         f.kill
  1015. }
  1016.  
  1017. And then add this resource:
  1018.  
  1019. Vuewm*windowMenu:       VueWindowMenu
  1020.  
  1021. And restart the window manager.
  1022.  
  1023. (Thanks to Bill Bennett, HP)
  1024.   
  1025. ------------------------------
  1026.  
  1027. Subject: 6.10  How come I can no longer disable the caps lock key with xmodmap?
  1028.  
  1029. A common activity in the past has been to disable the, shall we say, "placement
  1030. challenged" caps lock key on the ITF keyboard using a simple xmodmap script.
  1031. This no longer works consistently at X11R5/VUE 3.0; the best solution so far:
  1032.  
  1033. In file ~/.vue/sessions/lite/vue.session:
  1034.  
  1035. /usr/bin/X11/xmodmap - << EOF
  1036.         clear lock
  1037.         keycode 55 = Control_L
  1038.         keycode 86 = Caps_Lock
  1039.         keycode 39 = grave asciitilde guillemotleft guillemotright
  1040.         keycode 71 = Escape
  1041.         add Lock = Caps_Lock
  1042.         add Control = Control_L
  1043. EOF
  1044.  
  1045. This works until logout/login, when Caps Lock toggles the control feature, even
  1046. though 'xmodmap -pm' shows that Lock has no assignments. You have to restart the
  1047. server to reset completely, which can be automated by setting the value         
  1048.  
  1049. Vuelogin*terminateServer:   True
  1050.  
  1051. in the file /usr/vue/config/Xconfig.
  1052.   
  1053. ------------------------------
  1054.  
  1055. Subject: 6.11  How come vi behaves strangely in xterms at 9.01?
  1056.  
  1057. Apparantly initial invocation of xterm under csh does not set LINES/COLUMNS
  1058. correctly, and vi doesn't handle that real well. One workaround is to put the
  1059. following in .cshrc:
  1060.  
  1061. if ( $?WINDOWID ) then
  1062.    set noglob;eval `/usr/bin/X11/resize`;unset noglob
  1063. endif
  1064.  
  1065. PHSS_2753 addresses this problem.
  1066.  
  1067. (Thanks to Raymond Nijssen for the workaround.)
  1068.   
  1069. ------------------------------
  1070.  
  1071. Subject: 6.12  How do I disable HP-VUE?
  1072.  
  1073. There have been several recommendations on this base thread. Here is one that is
  1074. documented for X terminals (it works for workstations too). This takes advantage
  1075. of the fact that Vue sets several environment variables for the session, one of
  1076. which is USER.
  1077.  
  1078. Modify the /usr/lib/X11/vue/Vuelogin/Xsession (pre-9.0 HPUX) or the
  1079. /usr/vue/config/Xsession (9.0 HPUX and later) file:
  1080.  
  1081.     1) Go to the portion that contains the coment "Determine the startup
  1082.        if the user didn't specify one." -- approximately line 295 in an
  1083.        unaltered version of the file.
  1084.  
  1085.     2) Add a following case statement to fit your needs. It should look
  1086.        something like:
  1087.  
  1088.                    case $USER in
  1089.                       martha | joe) startup=${HOME}/.x11start''
  1090.                    esac
  1091.  
  1092. You can add as much or little intelligence to this as you like. The above
  1093. assumes that the users' have a .x11start script in their home directory, that
  1094. its permissions are correct, etc. You can build in a fallback machanism. For
  1095. example, the script will check to see if the user has a .x11start script and if
  1096. not, to fallback to /usr/lib/X11/sys.x11start. To see an example of this logic,
  1097. do a more(1) on /usr/bin/x11start.
  1098.  
  1099. The above case statement is documented in Ch 2 of the "HP 700/RX System
  1100. Administrators Guide".
  1101.  
  1102. (Thanks to Bill Morrison, HP)
  1103.   
  1104. ------------------------------
  1105.  
  1106. Subject: 6.13  What's a good termcap entry for hpterm?
  1107.  
  1108. Although it is not supported for hpterm use, the 262x entry in
  1109. /etc/newconfig/termcap will work.
  1110.  
  1111. (Thanks to Frank Slootweg, HP)
  1112.   
  1113. ------------------------------
  1114.  
  1115. Subject: 6.14  My screen is wedged. What should I do?
  1116.  
  1117. One thing you can try is to unplug the keyboard for ~5 seconds. Note that
  1118. you will have to rerun xset -r to get autorepeat to work after doing this.
  1119.  
  1120. (Thanks to Paul Liebert, HP.)
  1121.   
  1122. ------------------------------
  1123.  
  1124. Subject: 6.15  How can I get an X client to come up in an alternate workspace?
  1125.  
  1126. You can try:
  1127.  
  1128. client -xrm "*workspaceList: <name>"
  1129.  
  1130. (Thanks to <finger@rz.uni-karlsruhe.de>)
  1131.   
  1132. ------------------------------
  1133.  
  1134. Subject: 6.16  Where did xline go at 9.x?
  1135.  
  1136. We don't know. The 9.03 Motif version of Glance Plus has what xline had
  1137. (and more).
  1138.   
  1139. ------------------------------
  1140.  
  1141. Subject: 6.17  How can I get HP-VUE to not override colors?
  1142.  
  1143. The Motif library on HP-UX has extra code added to make the default colors
  1144. follow the color schemes that the user selects with the vuestyle controls.  This
  1145. extra code makes trouble for some applications which don't want this unique and
  1146. unexpected behavior.
  1147.  
  1148. You can prevent the entire color scheme mechanism from being used in an
  1149. application by setting "*useColorObj: False" for the application before creating
  1150. the first widget.  This can be done by adding the resource to the application
  1151. defaults, the fallback resources, or as an extra "-xrm" "*useColorObj: False"
  1152. args pair in the argv and argc parameters passed to XtAppInitialize.  If you set
  1153. the resource in xrdb it would be best to set it for only specific applications
  1154. like "MyApp*useColorObj: False".
  1155.  
  1156. Setting the useColorObj resource could make programs core dump on some 8.0*
  1157. systems.  There is a patch that corrects the core dump.
  1158.  
  1159. You can use the vue colors and prevent the specific difference between dialog
  1160. colors vs.  non-dialog colors by setting a resource that specifies the behavoir
  1161. of the color scheme mechanism.  To force the dialogs to use the same colors as
  1162. the other windows set the following resources in your app_defaults file or
  1163. fallback settings-
  1164.  
  1165. *primaryColorSetId: 3 
  1166. *secondaryColorSetId: 3
  1167.  
  1168. This sets the dialog or "secondary" colors to the same set as the primary
  1169. colors.  This is discussed in the "HP VUE 3.0 User's Guide" in chapter 26.
  1170.  
  1171. (Thanks to Mike Stroyan, HP.)
  1172.   
  1173. ------------------------------
  1174.  
  1175. Subject: 6.18  How can I override the system default printer in vuepad?
  1176.  
  1177. cp /usr/vue/types/vuepad.vf $HOME/.vue/types
  1178.  
  1179. Edit the file and change the ACTION PRINT_PR_VPAD to:
  1180.  
  1181. # The PRINT_PR_VPAD action paginates its arguments using pr(1) and prints
  1182. # them with lp(1).  It uses arg 2 for a title.  It then removes the temp
  1183. # file.  This action is used by the client vuepad.
  1184. ACTION PRINT_PR_VPAD
  1185.         TYPE            COMMAND
  1186.         WINDOW-TYPE     NO-STDIO
  1187.         EXEC-HOST       %LocalHost%
  1188.         EXEC-STRING     /bin/sh -c "pr -h %Arg_2% %(File)Arg_1% | \
  1189.                                 lp -d%"Printer:"%; rm %(File)Arg_1%"
  1190.                                    ^^^^^^^^^^^^^^
  1191. END
  1192.  
  1193. This will cause a dialog box to appear to prompt you for a printer name.
  1194. However,  if you set LPDEST in your .vueprofile,  then lp will use that
  1195. value instead of the system default.
  1196.  
  1197. (Thanks, Dan Mercer, <damercer@mmm.com>)
  1198. ------------------------------
  1199.  
  1200. Subject: 6.19  How can I get the VUE 2.01 man page help index back?
  1201.  
  1202. The man pages will show up in the index if you copy over pre-9.X copies 
  1203. of the files "/usr/lib/X11/vue/help/C/manpage.cat", and 
  1204. "/usr/lib/X11/vue/help/C/manpage/*".
  1205.  
  1206. (Thanks, Mike Stroyan, HP)
  1207.  
  1208. ------------------------------
  1209.  
  1210. Subject: 7. OPERATING SYSTEM
  1211.  
  1212. ------------------------------
  1213.  
  1214. Subject: 7.1  Can I have filenames longer than 14 chars?
  1215.  
  1216. Yes, change to long filenames using /etc/convertfs. You can't go back, though.
  1217. Here's how to check if an existing filesystem has long filenames enabled:
  1218.  
  1219. # tunefs -v /dev/rdsk/XXX | grep magic
  1220. magic   95014   clean   FS_OK   time    Tue Mar 23 14:13:01 1993
  1221.        \__ if = 95014 then long filenames
  1222.         \__ if = 11954 then short filenames
  1223.         
  1224. (Thanks to Ken Burke.)
  1225.   
  1226. ------------------------------
  1227.  
  1228. Subject: 7.2  How can I tell what filesets have been loaded on my system?
  1229.  
  1230. Check the /etc/filesets directory. There is a file there for each fileset that
  1231. has been loaded that summarizes the files in that fileset.  This directory is
  1232. used by the /etc/update, /etc/updist, /etc/netdistd, and /etc/rmfn utilities
  1233. for loading and unloading software.
  1234.   
  1235. ------------------------------
  1236.  
  1237. Subject: 7.3  How do I safely remove software from my system?
  1238.  
  1239. The _only_ safe way to remove HP software is to use /etc/rmfn.
  1240.   
  1241. ------------------------------
  1242.  
  1243. Subject: 7.4  What's the scoop on HP-UX 9.03/9.04?
  1244.  
  1245. HP-UX 9.03 and 9.04 have now been officially released from HP and are
  1246. available on request from your software support coordinator. Support
  1247. is included for the 712 workstations, and many patches are included.
  1248.   
  1249. ------------------------------
  1250.  
  1251. Subject: 7.5  How come HP-UX doesn't support NFS root access?
  1252.  
  1253. HP-UX versions previous to 9.X do not support NFS root access to mounted
  1254. file systems. This because they are at an old revision of NFS. You *can* hack
  1255. your kernel to provide it, but it's dangerous, unsupported, and a security
  1256. hole. 9.X supports full NFS 4.1 functionality, including NFS root.
  1257.   
  1258. ------------------------------
  1259.  
  1260. Subject: 7.6! How can I change the order of hostname resolution?
  1261.  
  1262. Patches PHCO_3990 and PHNE_3686 allow configuration of the order of
  1263. hostname resolution. For more detail, see the docs in PHNE_3686; the
  1264. bottom line is that it's like Solaris 2.x.
  1265.   
  1266. ------------------------------
  1267.  
  1268. Subject: 7.7! How come the LOGnnnn files in /usr/adm keep growing and growing?
  1269.  
  1270. The LOGnnnn files in /usr/adm (8.x except 8.02) or /usr/adm/diag (8.02 and 9.0)
  1271. are the diagnostic event log files. Most likely the files are growing for
  1272. one of two reasons: either the diagnostics system was improperly installed,
  1273. or there is an actual hardware problem on the system.
  1274.  
  1275. (Thanks to Wayne Krone of HP)
  1276.   
  1277. ------------------------------
  1278.  
  1279. Subject: 7.8  How come I can't lock mail or other files on a Sun?
  1280.  
  1281. Believe it or not, Sun's lockd is broken at 4.1.x. The proper Sun patch
  1282. number is Patch-ID# 100075-09, called the "lockd jumbo patch".
  1283.   
  1284. ------------------------------
  1285.  
  1286. Subject: 7.9  Why are mail files in /usr/mail are owned by daemon instead of the recipient?
  1287.  
  1288. The mail delivery agent /bin/rmail needs to be able to chown(2) these files.
  1289. It cannot do so if you have removed the privilege CHOWN (see setprivgrp(1m);
  1290. removing CHOWN is recommended to prevent cheating on disk quotas).  To get 
  1291. around this, noting that /bin/rmail runs setgid to group mail, you can grant 
  1292. privilege CHOWN to group mail only by inserting the line "mail CHOWN" in 
  1293. /etc/privgroup. The change takes effect on the next reboot, or immediately 
  1294. if you execute the command "setprivgrp -f /etc/privgroup".
  1295.  
  1296. (Thanks to Jim Richardson <jimr@maths.su.oz.au>)
  1297.   
  1298. ------------------------------
  1299.  
  1300. Subject: 7.10  How can I tell if I need more than a 2-user license?
  1301.  
  1302.     There are several fundamental things to remember about HP-UX licensing:
  1303.  
  1304.     o Series 700 and Series 800 users are now counted the same way
  1305.     o Display console counts as one user
  1306.     o Each ASCII terminal counts as a user, regardless of how it is
  1307.           connected
  1308.     o The LAN connection counts as one user
  1309.  
  1310.     Ascii Terminals
  1311.  
  1312.     The simple rule to remember is any ASCII terminal that is logged in counts
  1313.     as a user.
  1314.  
  1315.     ASCII terminal connections can come in several different forms:
  1316.  
  1317.     o Direct-connected via a serial terminal multiplexer
  1318.     o Connected via Data Terminal Concentrators (DTCs) or via
  1319.           terminal servers
  1320.     o Personal Computers (PCs) acting in terminal emulation mode,
  1321.           whether connected via serial line or via Local Area Network (LAN)
  1322.  
  1323.     X-terminals and workstations
  1324.  
  1325.     When a customer buys an X-terminal or workstation from HP or from 
  1326.     another vendor, HP acknowledges that the customer has also bought a 
  1327.     single Unix license-to-use.
  1328.  
  1329.     Therefore, the customer has the right to an unlimited number of logins and
  1330.     terminal windows _over_the_LAN_ to a Series 700 or Series 800 from either 
  1331.     X-terminals or workstations. These logins can be via X terminal windows
  1332.     (_hpterm_ and _xterm_), _telnet_, _rlogin_, or other means.
  1333.  
  1334.     PC's that use X-terminal emulation software such as XView each count the
  1335.     same as an X terminal. This is because the PC essentially becomes an 
  1336.     X-terminal when it is running the X server software. Therefore, when a PC
  1337.     is running an X-terminal emulator, the PC has the right to an unlimited
  1338.     number of logins to an HP-UX system.
  1339.  
  1340.     Exceptions
  1341.  
  1342.     The policy of counting DTC users is new for the Series 700. Customers who
  1343.     purchased Series 700 systems prior to HP-UX 9.0 shipments (late calendar 
  1344.     1992) and use them as host systems for multiple DTC- connected terminals, 
  1345.     may continue to use those configurations without buying a license upgrade. 
  1346.     An update to HP-UX 9.0 will not lock out these configurations.
  1347.     
  1348. (Thanks to Tony Hart, HP)
  1349.   
  1350. ------------------------------
  1351.  
  1352. Subject: 7.11  How can I tell what patches are in the kernel?
  1353.  
  1354. "what /hp-ux" will present you with patch strings, which you can compare with
  1355. the strings called out in the patch text file. A typical patch string is:
  1356.  
  1357. PATCH_8.07 nfs_vnops.c 1.15.61.4 92/01/10 PHKL_0736 PHKL_0942
  1358.  
  1359. which shows that PHKL_0942 has been applied to the kernel.
  1360.   
  1361. ------------------------------
  1362.  
  1363. Subject: 7.12  How come I have to hit return after control-d in the Korn shell?
  1364.  
  1365. You need to set the "viraw" option.
  1366.   
  1367. ------------------------------
  1368.  
  1369. Subject: 7.13  How do I boot into single user mode?
  1370.  
  1371. Press ESC to stop the auto-boot.
  1372. When the list of boot devices is presented:
  1373.  
  1374. b PX ISL    (where X is your root disc)
  1375.  
  1376. And at the ISL> prompt:
  1377.  
  1378. ISL>  hpux -iS disc(;0)/hp-ux
  1379.  
  1380. The '-iS' are the flags to init which says come up single user.  The rest of
  1381. the command is what the bootprocess does automatically.
  1382.  
  1383. (Thanks to Stuart Jarriel <stuart@TIVOLI.COM>.)
  1384.   
  1385. ------------------------------
  1386.  
  1387. Subject: 7.14  How come my Korn shell login hangs?
  1388.  
  1389. This can happen if the user's home directory is across an NFS mount point; you
  1390. can workaround the problem by completely unprotecting (chmod 777) .sh_history,
  1391. or by pointing HISTFILE to somewhere local.
  1392.   
  1393. ------------------------------
  1394.  
  1395. Subject: 7.15  How can I avoid those annoying copyright notices on login?
  1396.  
  1397. The following code in /etc/profile prints the copyright notice the first
  1398. time each user logs in:
  1399.  
  1400.     NUMLOGINS=`/etc/last | grep $LOGNAME | wc -l`
  1401.     if [ $NUMLOGINS -lt 2 ]
  1402.     then
  1403.         cat /etc/copyright
  1404.     fi
  1405.     
  1406. And, for /etc/csh.login:
  1407.  
  1408. set NUMLOGINS=`/etc/last | grep $LOGNAME | wc -l`
  1409. if ( $NUMLOGINS<2 ) cat /etc/copyright
  1410.  
  1411. (Actually, each user will get the copyright on their first login after each 
  1412. time the /etc/wtmp file is pruned, but that needn't be often.)
  1413.  
  1414. (Thanks to Paul Gootherts, <pdg@cup.hp.com> and Steve Dum, 
  1415. <steve_dum@mentorg.com>)
  1416.   
  1417. ------------------------------
  1418.  
  1419. Subject: 7.16  How can I turn off quota checking?
  1420.  
  1421. The safe way is to use /etc/rmfn to remove the QUOTA fileset.
  1422.   
  1423. ------------------------------
  1424.  
  1425. Subject: 7.17  What are the issues with HP-UX 9.01?
  1426.  
  1427. Some of the things that people have seen with HP-UX 9.01:
  1428.  
  1429. rmfn of the NW-7XX fileset leaves behind an empty directory (/etc/conf/netware)
  1430. and subsequent kernel builds (for patch install) fails until this directory is 
  1431. removed by hand.
  1432.  
  1433. When the length of a macro expansion exceeds an unspecified size, cpp.ansi 
  1434. leaves some macros unexpanded in the output. Patched by PHSS_2199.
  1435.  
  1436. The linker does not traverse shared library search paths itself. Patched
  1437. by PHSS_3537.
  1438.  
  1439. Various X11 problems have been reported including drawing problems
  1440. and memory leaks. Get the latest X server (currently PHSS_3235).
  1441.  
  1442. Various serious C compiler problems have been fixed with PHSS_3707.
  1443.  
  1444. Memory leaks can occur and lock up a system; patch PHKL_3075 may fix it.
  1445.  
  1446. catman will core dump; patch PHCO_2183 fixes it.
  1447.  
  1448. There has been some controversy over the implementation of the dynamic buffer
  1449. cache at 9.01; people have been seeing situations where the cache has grown
  1450. quite large and the syncer takes over the system swapping it out. You can limit
  1451. the growth of the buffer cache to physical memory (default) with patch
  1452. PHKL_2449, or you can disable it altogether with the "bufpages" kernel
  1453. parameter; set bufpages to 10% of your physical memory, e.g. if you have an 
  1454. S700 with 16M of memory, set bufpages to:
  1455.  
  1456. bufpages = 16,000 K physical ram / 4 K per page / 10 (percent ) = 400
  1457.  
  1458. (Thanks to various people, too numerous to mention.)
  1459.   
  1460. ------------------------------
  1461.  
  1462. Subject: 7.18  Why does chown behave differently at 9.x?
  1463.  
  1464. chown(2) on symbolic links now chown's the file which the link is pointing to
  1465. instead of the link itself. If you want to go back to the olf behavior, you
  1466. can set the 'hpux_aes_override' parameter to '1'.  This can be done by
  1467. modify /etc/master ('hpux_aes_override AES_OVERRIDE      1') and changing
  1468. the dfile 'hpux_aes_override  1'.  Or by adb'ing the kernel;
  1469. adb -w /hp-ux /dev/kmem
  1470. hpux_aes_override?W 1       # For the /hp-ux
  1471. hpux_aes_override/W 1       # For the current kernel
  1472. $q
  1473.  
  1474. (Thanks to Trond Haugen, HP)
  1475.   
  1476. ------------------------------
  1477.  
  1478. Subject: 7.19  How can I track log files and core files?
  1479.  
  1480. At 9.x, SAM allows you to track all standard log files and trim them if
  1481. desired. It will also find all core files on a file system and allow you
  1482. to get rid of them.
  1483.   
  1484. ------------------------------
  1485.  
  1486. Subject: 7.20  How much memory can a process use?
  1487.  
  1488. The first limiter is probably swap space.  The combined virtual data space
  1489. of all running processes can't exceed swap size. Run /etc/swapinfo -t and 
  1490. look at the total line.  That's all you have left.
  1491.  
  1492. For FORTRAN programs:
  1493. --------------------
  1494. 1) Increase the kernel's stack limit (maxssiz).  You can do this with
  1495.    sam (Kernel Configuration-> Modify Operating System Parameters->
  1496.    Process Parameters).  The practical limit for user stacks is around
  1497.    80 Mbytes.  Your system probably has an 8 Mbyte limit.  Try 16 Mbytes
  1498.    or 32 Mbytes depending on your expected use.  Give sam a number that
  1499.    is a multiple of the 4096-byte pagesize.
  1500.  
  1501. 2) Change your array allocation.  HP FORTRAN allocates non-common,
  1502.    non-SAVE'd arrays on the process stack.  Common blocks and SAVE'd
  1503.    variables are allocated in the process data segment (with much larger
  1504.    size limits).  If your arrays are declared in the main program and
  1505.    passed to subroutines, you can just SAVE the big ones in the main
  1506.    program, or put them in a common block in the main program, or
  1507.    recompile with -K since -K puts all local variables in the data
  1508.    segment.  (-K is a sledgehammer approach, but it gives you a quick
  1509.    indication that stack size is the issue.)
  1510.  
  1511. 3)  Make sure you have enough swap space.
  1512. -------------------
  1513.  
  1514. (Thanks to Bob Montgomery, HP)
  1515.   
  1516. ------------------------------
  1517.  
  1518. Subject: 7.21  How come there's little discussion of DCE?
  1519.  
  1520. DCE (Distributed Computing Environment) is an OSF-based product. HP now
  1521. ships a DCE product. Most of the discussion concerning DCE takes place
  1522. in comp.unix.osf.misc.
  1523.   
  1524. ------------------------------
  1525.  
  1526. Subject: 7.22  How can I make a ramdisk?
  1527.  
  1528. THIS IS UNSUPPORTED. Make sure 'ram' is configured into your kernel, and then
  1529. make device files with major 9 (both blcok and char), minor 0xVSSSSS, where V is
  1530. the volume number, SSSSS is the number of sectors in the ram disk, and a sector
  1531. is 256 bytes. For example,
  1532.  
  1533.     mknod /dev/ram1m c 9 0x101000
  1534.     
  1535. makes a 1 meg ram disk. Of course, you have to make a file system on it and
  1536. mount it to make it useful.
  1537.  
  1538. (Thanks to Rob Gardner, HP)
  1539.   
  1540. ------------------------------
  1541.  
  1542. Subject: 7.23  Where can I get SLIP for HP-UX?
  1543.  
  1544. On HP workstations, SLIP is called ppl and is a part of the LAN/9000  Link
  1545. product (Thin coax hardware interface + Ethernet/802.3 driver +  TCP/IP
  1546. transport).  Although conceptually a separate "product", the  LAN/9000 Link is
  1547. shipped as part of every HP workstation.
  1548.  
  1549. (Thanks to Mike Taylor, HP)
  1550.   
  1551. ------------------------------
  1552.  
  1553. Subject: 7.24  How come I can't lock files across NFS after upgrading to 9.01?
  1554.  
  1555. You may need to replace your /etc/group with the 9.01 version:
  1556.  
  1557. Upgraded 9.01/  Installed
  1558. 8.07 version    9.01 version
  1559.  
  1560. root::0:        root::0:root
  1561. other::1:       other::1:root,hpdb
  1562. bin::2:         bin::2:root,bin
  1563. sys::3:         sys::3:root,uucp
  1564. adm::4:         adm::4:root,adm
  1565. daemon::5:      daemon::5:root,daemon
  1566. mail::6:        mail::6:root
  1567. lp::7:          lp::7:root,lp
  1568. users::20:      users::20:root
  1569.                 nogroup:*:-2:
  1570.                 
  1571. (Thanks to Robin Strong <gandalf@austin.lockheed.com>)
  1572.   
  1573. ------------------------------
  1574.  
  1575. Subject: 7.25  What's a good strategy for clearing /tmp?
  1576.  
  1577. Two suggestions (to be run from cron) are:
  1578.  
  1579. find /tmp -depth -hidden -fsonly hfs -atime +1 -exec rm -rf {} \;
  1580.  
  1581. The -depth option ensures no directory is removed before its contents,
  1582. -fsonly hfs is because occasionally I've NFS-mounted stuff there and
  1583. it's better to do the clearing in the machine where it's local,
  1584. and -hidden is in case CDF's appear there for some reason.
  1585.  
  1586. (Thanks to Tapani Tarvainen)
  1587.  
  1588. for i in /tmp /usr/tmp
  1589. do
  1590.   find $i -type f -atime +3 -print -exec rm -f {} \;
  1591.   find $i -type d -atime +3 -print -exec rmdir {} \;
  1592. done
  1593.   
  1594. (Thanks to Rich Jennings, HP)
  1595.   
  1596. ------------------------------
  1597.  
  1598. Subject: 7.26  How can I change the timezone?
  1599.  
  1600. Edit the entry in /etc/src.sh and /etc/src.csh, and reboot.
  1601.   
  1602. ------------------------------
  1603.  
  1604. Subject: 7.27  Is there an equivalent for getrusage()?
  1605.  
  1606. From the BSD porting tricks document (thanks, Mike):
  1607.  
  1608. #ifdef hpux
  1609. #include <sys/syscall.h>
  1610. #define getrusage(a, b)  syscall(SYS_GETRUSAGE, a, b)
  1611. #endif /* hpux */
  1612.   
  1613. ------------------------------
  1614.  
  1615. Subject: 7.28! How can I look at what my system is doing?
  1616.  
  1617. The best tool for monitoring your system is HP GlancePlus.  In the U.S. call 
  1618. (800) 237-3990 for a trial version.  Outside the U.S. contact your HP sales
  1619. representative.  HP sells other performance tools as well including HP
  1620. Performance Collection Software, HP PerfRX (for long-term performance
  1621. analysis of a single system), and HP PerfView which runs under OpenView 
  1622. (for simultaneous monitoring of a network of systems including HP-UX, Sun 
  1623. Sparc, and IBM AIX).  You can also use /usr/contrib/bin/monitor if it 
  1624. exists on your system.
  1625.  
  1626. (thanks to Doug Grumman <dougg@hpptc3.rose.hp.com>)
  1627.  
  1628. ------------------------------
  1629.  
  1630. Subject: 7.29  How can I partition HP-UX disks?
  1631.  
  1632. Here is a sample file which lists the sdsadmin commands to partition a disk
  1633. into 2 partitions. Note that this is specific to the M2654SA disk;
  1634. your mileage may vary. The mediainit is probably not required if the vendor
  1635. has formatted/verified the disk. It is not "supported" to partition
  1636. the boot disk, and you have to go through some contortions to do it.
  1637.  
  1638. #
  1639. # SDS configuration file for this node.
  1640. #
  1641. # To rebuild the /u1 and /news Fujitsu M2654SA disk partitions, do:
  1642. #    mediainit -v /dev/rdsk/c201d5s0
  1643. #    sdsadmin -m -C /usr/local/etc/sdsadmin.config.u1news /dev/dsk/c201d5s0
  1644. #    newfs -L -n -v -m 2 -i 16384 /dev/rdsk/c201d5s1 HP_M2654Su1x1-2
  1645. #    newfs -L -n -v -m 2 -i  2048 /dev/rdsk/c201d5s2 HP_M2654Su1x1-2
  1646. #
  1647. # Disk partitions:
  1648. #
  1649. # 1   /u1     145xxxx 1K blocks (/dev/dsk/c201d5s1, /dev/rdsk/c201d5s1)
  1650. # 2   /news    55xxxx 1K blocks (/dev/dsk/c201d5s2, /dev/rdsk/c201d5s2)
  1651. # -   -----   -------
  1652. #             2006016 1K blocks
  1653. #
  1654.  
  1655. type    M2654Su1x1-2
  1656. label   u1_news
  1657.  
  1658. partition 1
  1659.    size 1450000K
  1660.  
  1661. partition 2
  1662.    size      max
  1663.  
  1664. (Thanks to Mike Petersen)
  1665.  
  1666. ------------------------------
  1667.  
  1668. Subject: 7.30  How can I print man pages successfully?
  1669.  
  1670. To get the italic and bold fonts from the man file on a Laserjet:
  1671.  
  1672. zcat manfile.1 | nroff -man -Tlj | lpr ...
  1673.  
  1674. On a PostScript printer ( you need the GNU groff):
  1675.  
  1676. zcat manfile.1 | groff -man -Tps | lpr ...
  1677.  
  1678. If your man file is a complex one including tables, pipe it through tbl.
  1679.  
  1680. Some man pages like ioctl may need the HP macros:
  1681.  
  1682. zcat manfile.1 | groff -t -e -C -M/usr/lib/tmac -man -Tps | lp ...
  1683.  
  1684. (Thanks to Poul Moller, Markus Gyger)
  1685.  
  1686. ------------------------------
  1687.  
  1688. Subject: 7.31  How can I limit core files?
  1689.  
  1690. HP-UX has no built in function to limit core file generation from the standard
  1691. shells; one way to limit core file generation is to create a directory called
  1692. "core" with 000 permissions in the directory in which you expect a core dump to
  1693. occur. Additionally, two programs are available (nocore and corelimit) that
  1694. can be used as wrappers around other programs that you may expect to dump.
  1695. And, some publicly available shells (tcsh, for example) allow core file
  1696. limits.
  1697.  
  1698. ------------------------------
  1699.  
  1700. Subject: 7.32  Can I put more than one backup on DDS with fbackup?
  1701.  
  1702. No. fbackup always rewinds the tape. Possible alternatives:
  1703.  
  1704. (1) Stick with dump.
  1705. (2) Use a pipe: instead of telling fbackup where the DAT is,
  1706.     let it send its output to stdout (-f -) and pipe it
  1707.     (thru remsh from the other machine) to the DAT, using
  1708.     no-rewind device.  You'll lose fast search ability, though.
  1709. (3) Turn your machines into a cluster served by the one with the DAT
  1710.     and do all backups there.  Unfortunately clusters are
  1711.     not supported at hp-ux 10.0, so this is not a long-term solution.
  1712. (4) Use NFS and mount the disks of the machine without DAT to the other
  1713.     and back them both up there.  You'll have to mount 'em with root
  1714.     permissions and restoring a completely destroyed root disk will be messy.
  1715. (5) Scream at HP until they fix fbackup. :-)
  1716.  
  1717. (Thanks to Tapani Tarvainen, tt@math.jyu.fi)
  1718.  
  1719. ------------------------------
  1720.  
  1721. Subject: 7.33  How can I load multiple patches on a machine at the same time?
  1722.  
  1723. The easiest way to do it is to set up a netdist server by using /etc/updist
  1724. to load all the patches you want into a netdist area, and then starting
  1725. /etc/netdistd.
  1726.  
  1727. ------------------------------
  1728.  
  1729. Subject: 7.34  How can I set up an HP-UX workstation as an X terminal?
  1730.  
  1731. Install minimum OS with network and X11 (without motif or vue).
  1732. Edit /etc/inittab, change the following lines
  1733.  
  1734. init:2:initdefault:
  1735. vue :34:respawn:/etc/vuerc    # VUE validation and invocation
  1736.  
  1737. to
  1738.  
  1739. init:3:initdefault:
  1740. vue :34:respawn:/usr/bin/X11/X -query HOSTNAME    # X server startup
  1741.  
  1742. Replace HOSTNAME by the name of the host running xdm, vuelogin or whatever.
  1743.  
  1744. (thanks to Kay Marquardt, <K.Marquardt@zhv.basf-ag.de>)
  1745.  
  1746. ------------------------------
  1747.  
  1748. Subject: 7.35! What causes "Unable to initialize MI" when running Glance?
  1749.  
  1750. This error can occur for many different reasons but it indicates that the
  1751. glance program had trouble starting the midaemon process.  Further details
  1752. are available in ~/glance.err and/or /usr/perf/log/`hostname`/midaemon.err.
  1753. See man midaemon(1).
  1754.  
  1755. Older revisions of HP GlancePlus (prior to B.09.00 for series 700/800 
  1756. systems and prior to A.09.07 for series 300/400 systems) had a Known 
  1757. Problem in which it was occasionally necessary to issue the following 
  1758. command when the above error occurred:
  1759.  
  1760. rm /usr/perf/databases/`hostname`/*.data
  1761.  
  1762. Do NOT remove other files in the directory /usr/perf/databases/`hostname`/
  1763. because they may be required for other performance tools such as HP PerfRX
  1764. or HP PerfView.
  1765.  
  1766. This problem has been fixed in the current release of HP GlancePlus (versions
  1767. B.09.00 or greater for s700/800).  
  1768.  
  1769. Please contact your HP Support Representative when you experience problems
  1770. with HP software products.  Your HP support contact will know how to obtain 
  1771. additional information to characterize your specific problem.  Please 
  1772. note the product version (ie: "what /usr/perf/bin/glance") when reporting 
  1773. problems.
  1774.  
  1775. (thanks to Doug Grumman <dougg@hpptc3.rose.hp.com>)
  1776.  
  1777. ------------------------------
  1778.  
  1779. Subject: 7.36  Where can I get pcnfsd on HP-UX?
  1780.  
  1781. It's part of the standard NFS distribution.
  1782.  
  1783. ------------------------------
  1784.  
  1785. Subject: 7.37  Where can I get ppp for HP-UX?
  1786.  
  1787. Morningstar has a commercial implementation available. See
  1788. ftp://ftp.morningstar.com for more details.
  1789.  
  1790. (thanks to Cricket Liu, <cricket@nsr.hp.com>)
  1791.  
  1792. ------------------------------
  1793.  
  1794. Subject: 8. COMPILERS AND LINKERS
  1795.  
  1796. ------------------------------
  1797.  
  1798. Subject: 8.1  What's a P-FIXUP error?
  1799.  
  1800. Several questions on comp.sys.hp.hpux have involved the Gnu C compiler
  1801. and the linker message below :
  1802.  
  1803.         gcc  test_h.o -o test_h ../libg++.a -lm
  1804. ld: R_DATA_ONE_SYMBOL fixup in file ../libg++.a(streambuf.o) for code unsat
  1805. symbol "abort" - use P' fixup
  1806. collect: /bin/ld returned 1 exit status
  1807.  
  1808.    This is caused by the code generator emitting assembly code in a data
  1809. subspace to initialize a function pointer, equivalent to :
  1810.  
  1811.     .word    foo
  1812.  
  1813. where (in this case) foo() is an extern, and shared libraries are referenced
  1814. by the executable being built (usually libc.sl).  
  1815.  
  1816. NOTE:
  1817.  
  1818. This problem has been fixed in gcc-2.4.5.u5; if people are still running
  1819. into this error, then:
  1820.  
  1821.   1) They've got an old version of gas (pa-gas-1.36.u8 I belive is the
  1822.   first one do handle this correctly).
  1823.  
  1824.   2) They're linking with a library built with some old combination of
  1825.   gcc and gas.
  1826.  
  1827. The solution is to make sure gcc and gas are up-to-date and any libraries
  1828. have been built with the latest gcc/gas combination.  For a temporary 
  1829. workaround the option "-static" to gcc will suppress dynamic linking and
  1830. thus avoids the error.
  1831.  
  1832. (thanks to Carl Burch, HP for the original, and Jeff Law 
  1833.  <law@snake.cs.utah.edu> for the followup)
  1834.  
  1835. ------------------------------
  1836.  
  1837. Subject: 8.2  Where is regcmp on HP-UX?
  1838.  
  1839. RTFM - from man regcmp:
  1840.  
  1841.       regcmp and regex are kept in /lib/libPW.a, and are linked by using the
  1842.       -lc and -lPW options to the ld or cc command.  See WARNINGS below.
  1843.  
  1844. (thanks to Andre Srinivasan, <andre@cs.pitt.edu>)
  1845.   
  1846. ------------------------------
  1847.  
  1848. Subject: 8.3  How come the default C compiler is brain-dead?
  1849.  
  1850. The C compiler shipped with HP-UX is intended only to rebuild the kernel
  1851. with, not for program development. To get a "real" C compiler, you must
  1852. buy the ANSI C program development bundle.
  1853.   
  1854. ------------------------------
  1855.  
  1856. Subject: 8.4  How do I deal with "too many defines"?
  1857.  
  1858. Use the "-Wp,-Hxxxxxxx" where xxxxxxxx is the number of bytes to add to cpp's
  1859. table size.
  1860.  
  1861. There is no equivalent in lint or cflow to the cc driver's -W flag to 
  1862. pass options to subprocesses like cpp.  However, both lint and cflow
  1863. invoke cpp via the cc driver, so you can achieve the same effect by
  1864. setting the CCOPTS environment variable.  For example,
  1865.  
  1866.     CCOPTS="-Wp,-H500000"
  1867.     export CCOPTS
  1868.     lint large_file.c
  1869.  
  1870.   
  1871. ------------------------------
  1872.  
  1873. Subject: 8.5  How come I get "_builtin_va_start" undefined when I build with gcc?
  1874.  
  1875. The <varargs.h> and <stdarg.h> include files define va_start in terms of 
  1876. this function, which is built-in on the HP C compiler.
  1877.  
  1878. If you're using GCC you should be picking up include files
  1879. from the gcc library directory.  These include files do the right
  1880. thing for both GCC and HP C.
  1881.  
  1882. More often than not these files were never installed, or someone has
  1883. placed a copy of varargs.h/stdarg.h into /usr/local/include (gcc searches
  1884. there *first*).
  1885.  
  1886. When all else fails, you can replace the definition of va_start as follows, 
  1887. depending on whether you are using varargs or stdarg (K&R or ANSI,
  1888. respectively).
  1889.  
  1890.     #include <varargs.h>
  1891.     #ifdef __hppa
  1892.     #undef va_start
  1893.     #define va_start(a) ((a)=(char *)&va_alist+4)
  1894.     #endif
  1895.  
  1896.     #include <stdarg.h>
  1897.     #ifdef __hppa
  1898.     #undef va_start
  1899.     #define va_start(a,b) ((a)=(va_list)&(b))
  1900.     #endif
  1901.  
  1902. For <varargs.h>, this replacement should always work.
  1903.  
  1904. For <stdarg.h>, this replacement will work unless the last fixed
  1905. parameter ("b" in the call to va_start) is a structure larger
  1906. than 8 bytes.  Large structures are passed by reference, with the
  1907. callee responsible for copying the structure to a temporary area
  1908. if it will be modified.  In this case, "&b" will take the address
  1909. of that temporary area instead of the position in the argument
  1910. list, and va_next won't work.  That's why HP uses a compiler
  1911. built-in.
  1912.  
  1913. (Thanks to Cary Coutant, HP for the original and Jeff Law 
  1914.   <law@snake.cs.utah.edu> for the followup)
  1915.   
  1916. ------------------------------
  1917.  
  1918. Subject: 8.6  How can I tell if something was built debuggable?
  1919.  
  1920. If the output of "/usr/contrib/bin/odump -spaces file.o" shows a space
  1921. named $DEBUG$, then it was compiled with -g.
  1922.  
  1923. (Thanks to Fran Litterio <franl@centerline.com>)
  1924.  
  1925. ------------------------------
  1926.  
  1927. Subject: 8.7  Is there some kind of problem with using FLT_MIN in ANSI mode?
  1928.  
  1929. The C compiler dislikes this construct in ANSI mode:
  1930.  
  1931. x = FLT_MIN;    /* <---- warning here */
  1932.  
  1933. The problem is that the ANSI mode (_PROTOTYPES) version of FLT_MIN/FLT_MAX in
  1934. <float.h> end their constants with an F, which seems to upset the compiler.
  1935.  
  1936. The workaround ? Temporarily undef _PROTOTYPES around the <float.h> inclusion:
  1937.  
  1938. #ifdef _PROTOTYPES
  1939. #undef _PROTOTYPES
  1940. #include <float.h>
  1941. #define _PROTOTYPES
  1942. #else
  1943. #include <float.h>
  1944. #endif
  1945.  
  1946. (Thanks to Richard Lloyd of the Liverpool archive.) 
  1947.  
  1948. ------------------------------
  1949.  
  1950. Subject: 8.8  What's the deal with _INCLUDE_xxxx_SOURCE?
  1951.  
  1952. The ANSI standard clearly states what identifiers it reserves, and says the rest
  1953. are available to you, the programmer.  Many "important things" like "ulong" are
  1954. *not* specified by ANSI, so ANSI header files are not allowed by the standard to
  1955. define them.  Each standard supported by HP-UX (POSIX1, POSIX2, XPG2, XPG3,
  1956. XPG4, AES, etc) has its own set of reserved identifiers and header files, and
  1957. the convention is to require "-D_POSIX_SOURCE" (et al) to enabled their
  1958. respective namespaces.  Since HP could not predict what future standards would
  1959. come along and claim more header files and identifiers, it proved much simpler
  1960. to make the namespace as restrictive as possible unless "-D_HPUX_SOURCE" is
  1961. specified.  While this has turned into one the most frequently asked of FAQ's
  1962. about HP-UX, at least once you learn this, you don't have to deal with
  1963. inconsistencies again.  Whereas, had we allowed all non-standard headers to
  1964. define all non-standard symbols, you'd find identifiers randomly "disappearing"
  1965. from headers over time as they were claimed by various standards.
  1966.  
  1967. Also check the man page for "cc -Ae"; it enables the the HPUX_SOURCE namespace.
  1968.  
  1969. (Thanks to Marc Sabatella)
  1970.   
  1971. ------------------------------
  1972.  
  1973. Subject: 9. HARDWARE AND PERIPHERALS
  1974.  
  1975. ------------------------------
  1976.  
  1977. Subject: 9.1  Are alternate keyboards available for HP workstations?
  1978.  
  1979. Yes, HP has two keyboards available for their workstations and X Terminals.
  1980.  
  1981. A1099B - Workstation style keyboard (Default on workstations.)
  1982. A2205A - PC-101 style keyboard (Default on X Terminals.)
  1983.  
  1984. The 712 supports any PC-type keyboard and mouse.
  1985. ------------------------------
  1986.  
  1987. Subject: 9.2  How can I play audio CDs on an HP workstation?
  1988.  
  1989. A contributed application ("xcd") exists that presents a X-window CD player
  1990. front panel.  xcd runs on HP-UX 7.0 and 8.0, on Series 300, 400 and 700, with
  1991. either SCSI or HP-IB CD-ROM drives. The SCSI drives must be HP-supplied or
  1992. Toshiba XM-3201B or XM-3301B. xcd does not yet officially work on HP-UX 9.0,
  1993. but I've tried it and it seems to work just fine. Note that xcd plays only
  1994. through the CD player's headphone jack and not through the workstation's
  1995. speaker.
  1996.  
  1997. xcd is available from the InterWorks workstation user group (see above), 
  1998. on their ftp site, CD-ROM, and via DDS tape.
  1999.   
  2000. Note that source is not available.
  2001.  
  2002. Additionally, two new programs that provide similar functionality have
  2003. recently appeared, called xdp and xmcd.
  2004.  
  2005. (Thanks to Bob Niland and others)
  2006.  
  2007. ------------------------------
  2008.  
  2009. Subject: 9.3  How can I enable the LAN interface on a 700?
  2010.  
  2011. This can be problem when the LAN isn't connected at boot time. To
  2012. resolve the problem, use the "reset" command in "landiag".
  2013.   
  2014. ------------------------------
  2015.  
  2016. Subject: 9.4  How can I get an Exabyte to work on an HP?
  2017.  
  2018. People have under HP-UX 8.07 used device files with major number 54,
  2019. minor numbers 0x201202 and 0x201203 for /dev/rmt/2m and /dev/rmt/2mn, 
  2020. respectively, for low density. Other people had used 0x201242 and 0x201243.
  2021.  
  2022. Note that with HP-UX 9.01, low density means 8200 format in 8500 drives.
  2023. Major #54, minor numbers 0x201202 and 0x201203 are low density handles.
  2024. With 8200 drives the density does not matter. Software compression
  2025. control with 8505 drives will require a patch to HP-UX 9.01.
  2026.  
  2027. Caveats: some Exabyte drives will not support a "dump" blocking factor
  2028. greater than 64 from the HP.  Others are apparently limited in the commands
  2029. they will accept (e.g. TTI noted that their 8501 tape drive will not properly
  2030. interface with the HP under all conditions; however, the TTI 8510 does
  2031. interface correctly). TTI had a firmware problem which should be 
  2032. corrected in recent 8510s.
  2033.  
  2034. Note that 8500 drives act as SCSI-2, while 8200s are SCSI-1. People appear
  2035. to have been more successful with getting the 8500s to work with 9.01.
  2036.  
  2037. Experience has also shown that you may need PHKL_2898.
  2038.  
  2039. (Thanks to Mike Peterson for much of this.)
  2040.   
  2041. ------------------------------
  2042.  
  2043. Subject: 9.5  Is there a "node ID" on 700s?
  2044.  
  2045. Yes. Most licensing systems (FlexLM and NetLS, for example), are driven from 
  2046. the LLA, available from /etc/lanscan or /usr/etc/netls/ls_targetid. There is 
  2047. also a CPU ID number that HP uses for /etc/update; it may be a transformation 
  2048. of the LLA, but this is not guaranteed to remain the case, and may be disturbed
  2049. by replacement of the LAN board. Additionally, the LLA can be reset by a 
  2050. CE using the proper secret magic program.
  2051.   
  2052. ------------------------------
  2053.  
  2054. Subject: 9.6  How can I get a stuck DDS tape out of the drive?
  2055.  
  2056. 1)  Power down your machine (remember shutdown!!! ;-))
  2057. 2)  Open it up (you'll prob. need Torx screwdrivers).
  2058. 3)  on the side of the drive, you should see a small rectangular piece
  2059.     of plastic.  gently pry it off... it should come off quite easily.
  2060. 4)  the aforementioned piece of plastic covers a hole, which houses a 
  2061.     small dial.  spinning this dial ejects the tape.  
  2062. 5)  replace plastic piece, close machine... and bob's your uncle.
  2063.  
  2064. p.s.  the dial has very little torque (ie. the tape comes out quite slowly,
  2065. but you can see it move.   It'll take about 2-3 minutes of spinning before 
  2066. the tape comes out.
  2067.  
  2068. (Thanks to Edlin Seebick.)
  2069.   
  2070. ------------------------------
  2071.  
  2072. Subject: 9.7  How can I use dump with a DDS tape?
  2073.  
  2074. dump was written to assume 9-track tapes, so some fudging has
  2075. to be done for DDS tapes.  The following has the info you need
  2076. along with several alternatives for dump parameters.
  2077.  
  2078. Approximate capacity of 60m DDS tape = 1.3G bytes
  2079. Approximate DDS tape density = (1.3G bytes) / (60 m) = (550K bytes/in)
  2080.  
  2081. dump assumes an inter-record gap (IRG) of 0.3 in for density = 6250,
  2082. 0.7 in otherwise.
  2083.  
  2084. dump uses a default blocking factor of 10 for density < 6250,
  2085. 32 otherwise.
  2086. ================
  2087. density = 550000
  2088. blocking factor = 32 (default)
  2089. assumed IRG = 0.7 in
  2090.  
  2091. Block length = (32K bytes/block) / (550K bytes/in) + (0.7 in) = (0.76 in)
  2092.  
  2093. Effective tape length =
  2094.     (1.3G bytes) / (32K bytes/block) * (0.76 in/block) = (2511 ft)
  2095. ================
  2096. density = 6250
  2097. blocking factor = 32 (default)
  2098. assumed IRG = 0.3 in
  2099.  
  2100. Block length = (32K bytes/block) / (6250 bytes/in) + (0.3 in) = (5.54 in)
  2101.  
  2102. Effective tape length =
  2103.     (1.3G bytes) / (32K bytes/block) * (5.54 in/block) = (18325 ft)
  2104. ===============
  2105. density = 1600
  2106. blocking factor = 10 (default)
  2107. assumed IRG = 0.7 in
  2108.  
  2109. Block length = (10K bytes/block) / (1600 bytes/in) + (0.7 in) = (7.10 in)
  2110.  
  2111. Effective tape length =
  2112.     (1.3G bytes) / (10K bytes/block) * (7.10 in/block) = (75113 ft)
  2113. ===============
  2114. density = 1600
  2115. blocking factor = 32
  2116. assumed IRG = 0.7 in
  2117.  
  2118. Block length = (32K bytes/block) / (1600 bytes/in) + (0.7 in) = (21.18 in)
  2119.  
  2120. Effective tape length =
  2121.     (1.3G bytes) / (32K bytes/block) * (21.18 in/block) = (70022 ft)
  2122.  
  2123. (Thanks to Cary Coutant, HP.)
  2124.   
  2125. ------------------------------
  2126.  
  2127. Subject: 9.8  What is the correct major number for DDS drives on 9.01?
  2128.  
  2129. For reasons too detailed to go into here, the major number for DDS drives
  2130. has changed to 121 (from 54) at 9.01. 
  2131.   
  2132. ------------------------------
  2133.  
  2134. Subject: 9.9  How can I set up /dev/audio to point to the external jack on a 700?
  2135.  
  2136. Alter the /dev/audio device file as follows:
  2137.  
  2138. crw-rw-rw-   1 root     sys       57 0x208011  /dev/audio  ; external jack
  2139. crw-rw-rw-   1 root     sys       57 0x208000  /dev/audio  ; internal speaker
  2140.  
  2141. The commands are:
  2142.   mknod /dev/audio c 57 0x2080??   <- replace ?? with 00 or 11 as shown above.
  2143.  
  2144. (Thanks to Lou Kvitek.)
  2145.   
  2146. ------------------------------
  2147.  
  2148. Subject: 9.10  How can I configure the parallel port handshake on a 700?
  2149.  
  2150. From "man cent":
  2151.  
  2152.      The Series 700 cent driver supports six different handshake modes for
  2153.      data transfer.  The last four bits of the minor number of the device
  2154.      special file specify which mode is used.  The format of the device
  2155.      minor number is:
  2156.  
  2157.           0xSEF00A
  2158.  
  2159.      where each letter represents a single hexadecimal digit as follows:
  2160.  
  2161.      0x   Preamble to a hexadecimal number.  
  2162.      S    Specifies the system bus module number ( 2 for core I/O).  
  2163.      E    Specifies the EISA slot number: ( always 0 for core I/O).  
  2164.      F    Specifies the function number.  Always 6 for the Core I/O
  2165.           parallel interface.  
  2166.      00   Always 0.
  2167.      A    Specifies the handshake mode.  The handshake modes are:
  2168.  
  2169.                mode 1    Automatic handshaking using both nACK and BUSY.
  2170.                          Minor number format: 0xSEF001.
  2171.  
  2172.                mode 2    Automatic handshaking using only BUSY.  Minor
  2173.                          number format: 0xSEF002.
  2174.  
  2175.                mode 3    Bidirectional read/write used for ScanJet.  Minor
  2176.                          number format: 0xSEF003.
  2177.  
  2178.                mode 4    Stream mode.  Data is essentially transmitted to
  2179.                          the peripheral without any handshaking protocol.
  2180.                          Minor number format: 0xSEF004.
  2181.  
  2182.                mode 5    Pulsed mode using both ACK and BUSY for automatic
  2183.                          handshaking.  Similar to mode 1 except that the
  2184.                          data strobe line, nSTROBE is pulsed for a fixed
  2185.                          amount of time by the sender, then released.
  2186.                          Minor number format: 0xSEF005.
  2187.  
  2188.                mode 6    Pulsed mode, using only BUSY for automatic
  2189.                          handshaking.  Similar to mode 1 except that the
  2190.                          data strobe line, nSTROBE is pulsed for a fixed
  2191.                          amount of time by the sender, then released.
  2192.                          Minor number format: 0xSEF005.
  2193.  
  2194.           Modes 1 and 2 support most printers belonging to the *Jet series
  2195.           (LaserJet, DeskJet, QuietJet, etc.).
  2196.           
  2197. ------------------------------
  2198.  
  2199. Subject: 9.11  What are the specs of the audio hardware on the 700 series?
  2200.  
  2201. This is a summary of the audio features supported by the models 715, 725, 735,
  2202. and 755 workstations.  The 705 and 710 also have audio, but the specs are
  2203. not available. The 720, 730, and 750 models DO NOT have audio.
  2204.  
  2205. Audio features  Programmable sample rates (kHz): 8, 11.025, 16, 
  2206.                     22.05,32, 44.1, 48
  2207.                 Programmable output attenuation: 0 to -96 dB in 1.5 dB steps
  2208.                 Programmable input gain: 0 to 22.5 dB in 1.5 dB steps
  2209.                 Input monitoring
  2210.                 Coding formats: 16-bit linear, 8-bit mulaw, or A-law
  2211.  
  2212. Audio inputs        Line in
  2213. (not on all models) Mono microphone with 1.5V phantom power
  2214.  
  2215. (Editorial comment - a Sun microphone appears to work just fine.)
  2216.  
  2217. Audio outputs       Line out
  2218. (not on all models)    Headphone
  2219.                     Mono speaker jacks
  2220.                     Built-in mono speaker
  2221.  
  2222. Audio CODEC         Crystal CS4215
  2223.  
  2224. Typical specifications measured on a stock 715.  Values will differ only 
  2225. slightly on other models.
  2226.  
  2227. Frequency response    25 - 20,000 Hz
  2228.  
  2229. Input Sensitivity/Impedance
  2230.             Line In        2.0 V(pk) / 47 kohms
  2231.             Microphone  22 mV(pk) / 1 kohm
  2232.  
  2233. Output Impedance (nominal)
  2234.             Line out    619 ohms
  2235.             Headphone   118 ohms
  2236.             Speaker (ext)  11 ohms
  2237.  
  2238. Max Output Level/Impedance
  2239.             Line Out    2.8 V (p-p) / 47 kohms
  2240.             Headphone   2.75 V (p-p) / 50 ohms
  2241.             Speaker (ext)  5.88 V (p-p) / 48 ohms
  2242.  
  2243. Signal to Noise
  2244.             Line In     61 dB
  2245.             Line Out    65 dB
  2246.             Microphone  57 dB
  2247.             Headphone   61 dB
  2248.             Speaker (ext)  63 dB
  2249.  
  2250. THD (at nominal load)
  2251.             Line In     -75 dB
  2252.             Line Out    -73 dB
  2253.             Microphone  -73 dB
  2254.             Headphone   -70 dB
  2255.             Speaker (ext)   -68 dB
  2256.  
  2257. (Thanks to Rocky Craig, HP)
  2258.  
  2259. ------------------------------
  2260.  
  2261. Subject: 9.12  What are the various revisions of PA-RISC?
  2262.  
  2263. PA-RISC 1.1 is an extension to the PA-RISC 1.0 architecture, and is
  2264. fully backwards-compatible (i.e., *all* PA-RISC 1.0 programs will
  2265. execute without change on PA-RISC 1.1 machines).  The biggest difference
  2266. is that PA-RISC 1.1 added 16 more floating-point registers, the ability
  2267. to address each double-precision floating-point register as two
  2268. single-precision registers, and a few new floating-point operations, so
  2269. the floating-point performance is greatly improved.  There were a few
  2270. changes on the integer side, but nothing major.
  2271.  
  2272. The first machines to be shipped with PA-RISC 1.1 CPUs were the first
  2273. Series 700 machines (the "Snakes" series).  Shortly after that, however,
  2274. the "Nova" series of Series 800 (8x7) machines was introduced using the
  2275. same PA-RISC 1.1 CPU.  Since then, every new PA-RISC machine that HP has
  2276. produced is based on the PA-RISC 1.1 architecture.
  2277.  
  2278. Thus, all Series 700 machines are PA-RISC 1.1, and the newer Series 800
  2279. machines are PA-RISC 1.1.  If you compile a program on a Series 700
  2280. machine, the compiler will generate PA-RISC 1.1 code by default, but if
  2281. you compile a program on a Series 800 machine (even a newer 1.1
  2282. machine), the compiler will generate PA-RISC 1.0 code to ensure that the
  2283. program will run within the entire 800 family.
  2284.  
  2285. To force the compiler to generate PA-RISC 1.0 code, you use the +DA 1.0
  2286. compiler option.  This is all you need to do, as long as you are careful
  2287. not to link your code with any libraries that were compiled for PA-RISC
  2288. 1.1.  If *any* object module in your program is compiled for PA-RISC
  2289. 1.1, your entire program will be marked as a PA-RISC 1.1 program.  The
  2290. "file" command will tell you which architecture is required to execute
  2291. your program.  Most system archive libraries that HP ships are compiled
  2292. for PA-RISC 1.0; an exception is the math library, which is shipped in
  2293. both forms (a PA-RISC 1.1 version is in /lib/pa1.1), although the 1.1
  2294. version contains a few entry points that are not available in the 1.0
  2295. version.
  2296.  
  2297. The scheduling option, +DS xxx, does not affect the compatibility of the
  2298. object code.  It affects only how the optimizer schedules instructions
  2299. that have long latencies, so it is usually to your advantage to schedule
  2300. the code for the fastest machine currently shipping, even if you are
  2301. generating 1.0 code.
  2302.  
  2303. When compiling code on one platform for another platform, the thing
  2304. you do have to worry about is the operating system release.  In general
  2305. you can compile a program on a Series 700 machine with +DA 1.0, and it
  2306. will run correctly as long as the program will execute on the same or
  2307. a later release of the OS as the one on which it was compiled.  Thus,
  2308. you cannot expect a program compiled on a 700 running 9.0 to run on
  2309. an 800 running 8.0.
  2310.  
  2311. (Thanks to Cary Coutant, HP)
  2312.  
  2313. ------------------------------
  2314.  
  2315. Subject: 9.13  How do I read an SGI-written tar format DDS tape?
  2316.  
  2317. The secret (at least in this case) is to byte-swap the tape before 
  2318. passing it to tar:
  2319.  
  2320.     dd if=/dev/rmt/0m conv=swab | tar -xvf -
  2321.  
  2322. Byte swapping is believed to only be necessary if the SGI machine that made 
  2323. the tape is running Irix 4.0 and under, and that if it's running Irix 5.0x 
  2324. and above, a large (512k) block size is used:
  2325.  
  2326.     dd if=/dev/rmt/0m ibs=512k obs=10k| tar -xvf -
  2327.  
  2328. (thanks to Paul Booth <paul@eye.com>)
  2329.  
  2330. ------------------------------
  2331.  
  2332. Subject: 9.14  Is there a trackball for the 700?
  2333.  
  2334. ITAC Systems supports a Mouse-trak trackball for HP-HIL (all 700s but
  2335. the 712). The 712, of course, can use any PC-style trackball.
  2336.  
  2337. (thanks to Jeff Dwork, AMD)
  2338.  
  2339.           
  2340.  
  2341.  
  2342. -- 
  2343. Greg Cagle - Mentor Graphics Corporation - greg_cagle@mentorg.com
  2344.  
  2345. "One ton tomato; I got a one ton tomato..."
  2346.